Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
Has anyone noticed that comment lines in AmigaDOS don't usually work? I have let it go for some time, but now it's beginning to be a real pain. Here is my sample sequence file: foo = ------------------------------------------------------------------- echo "1" . this is supposed to be a comment line, not a command echo "2" ------------------------------------------------------------------ 1> execute foo 1 Unknown command . 1>
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
666.1 | AmigaDOS Comments | NAAD::SWARR | Learner's Permit | Sat Aug 22 1987 22:19 | 3 |
I think the AmigaDOS comment is a semi-colon ";" | |||||
666.2 | ... | NULL::TORNHEIM | Sun Aug 23 1987 01:36 | 5 | |
yes. I found that when I reread the AmigaDOS manual today. However, the manual states clearly that a line starting with a "." followed by a space is also a comment. I suppose everyone has been using semi- colons and never ran into the apparent bug. | |||||
666.3 | Maybe try sticking a . comment on the first line? | STAR::BANKS | In Search of Mediocrity | Sun Aug 23 1987 23:36 | 4 |
I recall reading in one of the manuals once that for lines beginning with "." to hold any magic, the very first line in the file must start with a ".", so that EXECUTE knows to preprocess the file for "." magic. |