|
-
December 6th, 2003, 02:55 PM
#1
REM in DOS
Don't know if this belongs in here but since it's a DOS command thought I'd ask here and if not for this forum, mod please feel free to move me, er...it. 
I answered a question in which the above REM was asked about, I was then told REM stood for Remark, not Remove. What does Remark mean and what does it do?
-
December 6th, 2003, 03:18 PM
#2
The REM command in DOS allows the text following it to be read but will not execute it as a command. Similar to the ! command at the head of a line in other coding. It can be placed or removed as it suits your needs when ordering your coding to execute or not. Rem is generally used to advise you of something that is about to happen.
-
December 6th, 2003, 03:22 PM
#3
I think there may have been a REM for remove way, way back, but in most versions of DOS from Microsoft, REM has always been for REMark. Placed at the beginning of a linein a batch file, it denoted lines that were comments, not instructions to be executed. Typically these would be used to explain what the file did, or who wrote it, etc
dcj2
-------
Do I contradict myself?
Very well then I contradict myself,
(I am large, I contain multitudes.)
--Walt Whitman, "Song of Myself"
-
December 6th, 2003, 04:28 PM
#4
Thanks for the explainations. I don't do DOS per se, 6.22 or whatever versions has been. My first computer was Commodore 64, then my next was a MAC, then I jumped to one with win98 on it. The only DOS I've used then has been to scandisk, scanreg, and to see the directory of win98. In other words, using DOS was/is very limited.
-
December 6th, 2003, 08:52 PM
#5
Copied straight from the old MS-DOS 6.22 horse's mouth:
MS-DOS v6.22 Help: REM
-
December 6th, 2003, 09:25 PM
#6
Thanks Vernon. I think the reason I thought REM was remove was because I used it to stop a string from loading/showing in DOS. It was a Photodeluxe command and annoying since I no longer had that program installed.
-
December 7th, 2003, 06:13 AM
#7
Originally posted by dougj
I think there may have been a REM for remove way, way back
Perhaps remembering REMDIR? Usually specified as the abbreviated form "RD", both are short for REMove DIRectory.
-
December 7th, 2003, 06:41 AM
#8
-
December 10th, 2003, 07:50 PM
#9
Originally posted by photolady
Thanks for the explainations. I don't do DOS per se, 6.22 or whatever versions has been. My first computer was Commodore 64, then my next was a MAC, then I jumped to one with win98 on it. The only DOS I've used then has been to scandisk, scanreg, and to see the directory of win98. In other words, using DOS was/is very limited.
I did a bit of Commodore 64 BASIC programming back in "the day"... Even in 1983, REM stood for "REMark" and was used in BASIC for commenting one's code...
Code:
5 REM THIS IS A LOOP THAT PRINTS A LOT OF HELLOES
10 PRINT "HELLO"
20 GOTO 10
Welcome to the Eclipse(C). The Evolution of an Idea
Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG
Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
Access Level = 10 Port = 10
-
December 10th, 2003, 10:08 PM
#10
Thanks AlaricD but I only had my Commodore for about three months before going Mac. I just wouldn't do what I needed it to do, and I never learned any commands or language.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|