home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ob140os2.zip / MACDEMO.MAC < prev    next >
Text File  |  1997-09-12  |  176b  |  9 lines

  1. * This shows the use of macros
  2.  
  3. #MACRO REVERSE\ prints the string arg in reverse
  4.  FOR _StrNdx=LEN(~1) TO 1 STEP -1
  5.         PRINT MID$(~1,_StrNdx,1);
  6.  NEXT
  7.  PRINT
  8. #ENDM
  9.