[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

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

666.0. "problem with comments" by NULL::TORNHEIM () Sat Aug 22 1987 17:18

    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.RTitleUserPersonal
Name
DateLines
666.1AmigaDOS CommentsNAAD::SWARRLearner's PermitSat Aug 22 1987 22:193
    I think the AmigaDOS comment is a semi-colon ";"
    
    
666.2...NULL::TORNHEIMSun Aug 23 1987 01:365
    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.3Maybe try sticking a . comment on the first line?STAR::BANKSIn Search of MediocritySun Aug 23 1987 23:364
    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.