REM 在 BASIC 中代表什么?
这是过去的爆炸:注释标记“REM”在 BASIC 中代表什么?这个不明显的术语的起源是什么?
Here's a blast from the past: what does "REM", the comment marker, stand for in BASIC? What's the origin of this non-obvious term?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我认为它代表“Remark”,即评论。来自 MSDN 站点:
I believe it stands for "Remark", that is, a comment. From the MSDN site:
早在 Steam 时代后期(大约 1971 年左右),我第一次接触 BASIC 时就是 REMark。
我发现的关于该语言的最平易近人的书是“我的计算机喜欢我(当我用 BASIC 说话时)”或类似的书。
对于额外的学分和 mondo greybeard 代表点:BASIC 是一个首字母缩略词(可能是反义词,但无论如何),代表初学者的通用符号指令代码。
当我第一次接触 BASIC 时,我讨厌它,因为我先学了 FORTRAN IV,而 BASIC 看起来非常原始。过了很长一段时间,我才接受了这样一个想法:BASIC 实际上更容易用于其设计目的的那种随意的数字运算。
It was REMark, back in the late Steam Age (ca. 1971 or so), when I first encountered BASIC.
Most approachable book I've ever found on the language was "My Computer Likes Me (When I Speak In BASIC)", or something like that.
For extra credit and mondo greybeard rep points: BASIC is an acronym (maybe a backronym, but whatever), for Beginner's All-purpose Symbolic Instruction Code.
I hated BASIC when I first ran into it, because I learned FORTRAN IV first, and BASIC seemed incredibly primitive. It was a long time before I got comfortable with the idea that BASIC was actually a lot easier to use for the kind of casual numbercrunching it was designed to do.
它是“remark”的缩写,仅在行首(与 vb.net 不同)、行号(如果有)之后有效。
It's an abbreviation for "remark", valid only at the beginning of the line (unlike vb.net), after the line number (if any).
在 QBasic 的某些方言中,以下情况是正确的:
In some dialects of QBasic the following is true:
我自己一直认为这是“提醒”,但 Chris Bunch 可能是对的 - “评论”似乎更有可能。
I always thought of it as "reminder", myself, but Chris Bunch is probably right - "remark" seems more likely.