"Fossies" - the Fresh Open Source Software Archive

Member "remind-03.03.09/tests/purge_dir/f3.rem" (15 Oct 2021, 1407 Bytes) of package /linux/misc/remind-03.03.09.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # This is f3.rem
    2 
    3 REM Mon MSG repeat
    4 
    5 REM Mon SATISFY [1] MSG repeat
    6 
    7 IF 0
    8 REM 1991 MSG wookie
    9 ENDIF
   10 
   11 IF 1
   12 REM 1991 MSG wookie
   13 ENDIF
   14 
   15 IFTRIG 1991
   16 REM MSG wookie
   17 ENDIF
   18 
   19 # More complex conditional statements
   20 IF 1
   21   IF 0
   22     REM 1991 MSG wookie
   23   ELSE
   24     REM 1991 MSG wookie
   25   ENDIF
   26 ELSE
   27   IF 1
   28     REM 1991 MSG wookie
   29   ELSE
   30     REM 1991 MSG wookie
   31   ENDIF
   32 ENDIF
   33 
   34 REM [1990+1] MSG old-with-constant-expression
   35 
   36 REM [1990+1] \
   37   MSG Continued line-old-with-constant-expression
   38 
   39 REM 1990 \
   40   MSG expired-continued-line
   41 
   42 set y 1990
   43 
   44 REM [y+1] MSG old-with-nonconstant-expression
   45 
   46 # A comment that should be preserved
   47 
   48 #!P A comment that should be nuked because it \
   49 starts with #!P
   50 
   51 REM [y+1] \
   52   MSG Continued-line-old-with-nonconstant-expression
   53 
   54 OMIT 25 Dec MSG woaaahh!
   55 OMIT 24 Dec
   56 
   57 OMIT 1 Jan 1992 MSG woaaahah... expired
   58 OMIT 2 Jan 1992
   59 
   60 # Complicated expressions
   61 SET a 3
   62 FSET const(x) x+3
   63 FSET nonconst(x) x+a
   64 
   65 REM [const(5)] Jan 1992 MSG expired... should be commented out
   66 REM [const(a)] Jan 1992 MSG nonconstant expression
   67 REM [nonconst(5)] Jan 1992 MSG nonconstant expression
   68 REM [value("a")] Jan 1992 MSG nonconstant expression
   69 
   70 IF 0
   71 # A comment in a false IF block
   72 #!P This should be nuked
   73 ENDIF
   74 
   75 # Busted line
   76 REM [0/0] Jan 1992 MSG ouch
   77 
   78 ERRMSG blorky
   79 FLUSH
   80 SET a 1
   81 FSET a(x) x*x
   82 UNSET a
   83 CLEAR-OMIT-CONTEXT
   84 PUSH-OMIT-CONTEXT
   85 POP-OMIT-CONTEXT
   86 BANNER wow
   87 DEBUG +x
   88 DEBUG -x
   89 DUMP $
   90 EXIT 0
   91 PRESERVE i
   92