home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG051.ARK / MEMORY.INP < prev    next >
Text File  |  1984-04-29  |  758b  |  31 lines

  1. #$%!0 (+-*/)            0. Special character selection
  2. MEM[$]=$#            1. Template line
  3. !F3%                2. Store into memory
  4. %                3. End of macro
  5. PRINT MEM[$]#            4. Template line
  6. !10=!11!F14%            5. Extract info and output
  7. %                6. End of macro
  8. FORMAT MEM[$]#            7. Template line
  9. !11!26%                8. Extract info
  10. !F14%                9. Output
  11. 1111111= 22222222222222222%    10. Format
  12. %                11. End of macro
  13. END#                12. Template line
  14. !F0%                13. Terminate processing
  15. %%                14. End of macros
  16. MEM[25]=TWENTY FIVE#
  17. MEM[ABC]=HELLO#
  18. MEM[EQUATION]=A=2*(B+C)#
  19. MEM[X=Y]=Z#
  20. MM[12]="E" MISSING#
  21. MEM [XYZ]=SPACE AFTER "MEM"#
  22. MEM[ABC)]=UNBALANCED STRING#
  23. MEM[ABC]=UNBALANCED (STRING#
  24. PRINT MEM[25]#
  25. PRINT MEM[ABC]#
  26. PRINT MEM[PDQ]#
  27. FORMAT MEM[25]#
  28. FORMAT MEM[ABC]#
  29. FORMAT MEM[PDQ]#
  30. END#
  31.