home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 623a.lha / TurboDEX / ExampleSources / GetArgs.dex < prev    next >
Text File  |  1992-03-22  |  197b  |  15 lines

  1. ' get command line args
  2.  
  3. PROC main(ARG)
  4.   ' now terminate argstring with a 0
  5.   MCHAR argadr+argl-1,0
  6.   IF argl=1
  7.     WRITE 'No Args!\n'
  8.   ELSE
  9.     WRITE 'You wrote: \s\n',argadr
  10.   ENDIF
  11. ENDPROC
  12.  
  13.  
  14.  
  15.