SHARE
TWEET

Untitled

maximinus Apr 7th, 2012 272 Never
  1. ;Some examples of compiler code that should compile fine.
  2. ;I had added my reasoning for each one
  3.  
  4. :start  set a, 5                ;uses tabs
  5.         set b, 5        ;uses spaces
  6.  
  7.                 set a, 5                ;case is not important
  8.                 SET A, 5
  9.  
  10.                 set a, start    ;labels should be fine
  11.                 set a, end              ;as should forward labels
  12.                
  13. :data   dat "test"              ;should be able to handle data constructs
  14.                 dat "test", 0   ;and mixed data
  15.                 dat 3, 5, 6             ;of both types
  16.                
  17.                 set a,  5               ;number of spaces should be no issue
  18. :end    set a,5
RAW Paste Data
Top