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 / STARLET / GENIENEC / DEMO.DRW < prev    next >
Text File  |  2000-06-30  |  4KB  |  84 lines

  1.  
  2. ;
  3. ;    Test of the DRAW.COM Interpreter
  4. ;    This file demonstrates the features of DRAW.COM
  5. ;
  6. C1                     ;set color
  7. T80,32,10 T80,32,8             ;draw 5 circles
  8. T80,32,6 T80,32,4 T80,32,2        
  9. V380,32,10                ;draw a filled circle
  10. S160,64 Demonstration of DRAW"         ;print str in center
  11. B1,1,479,127                ;move to upper left, box1
  12. B3,3,476,125                ;move to upper left, box2
  13. B5,5,473,123                ;move to upper left, box3
  14. F1,140,40,285,75            ;box text and XOR
  15. ;    Print user-defined numerals
  16. M18,60 A9,0,0,0,0,28,20,20,20,28    ;  0
  17. M26,60 A9,0,0,0,0,8,24,8,8,28        ;  1
  18. M34,60 A9,0,0,0,0,8,20,4,8,28        ;  2
  19. M42,60 A9,0,0,0,0,24,4,8,4,24        ;  3
  20. M50,60 A9,0,0,0,0,20,20,28,4,4        ;  4
  21. M58,60 A9,0,0,0,0,28,16,12,4,28         ;  5
  22. M66,60 A9,0,0,0,0,8,16,24,20,8          ;  6
  23. M74,60 A9,0,0,0,0,28,4,8,8,8            ;  7
  24. M82,60 A9,0,0,0,0,28,20,8,20,28         ;  8
  25. M89,60 A9,0,0,0,0,8,20,12,4,8           ;  9
  26. ;    Print user-defined alphabet
  27. M18,80 A9,0,0,0,0,60,6,62,70,59        ;  a 
  28. M26,80 A9,0,0,112,48,62,51,51,51,110    ;  b 
  29. M34,80 A9,0,0,0,0,62,99,96,99,30    ;  c 
  30. M42,80 A9,0,0,7,6,62,102,102,102,59    ;  d 
  31. M50,80 A9,0,0,0,0,62,99,127,96,30    ;  e 
  32. M58,80 A9,0,0,14,27,24,60,24,24,60    ;  f 
  33. M66,80 A12,0,0,0,0,59,102,102,102,62,6,70,60    ;  g 
  34. M74,80 A9,0,0,112,48,54,59,51,51,115    ;  h 
  35. M82,80 A9,0,0,24,0,56,24,24,24,60    ;  i 
  36. M89,80 A12,0,0,0,6,0,6,6,6,6,102,102,60    ;  j 
  37. M98,80 A9,0,0,112,48,51,51,60,51,115    ;  k 
  38. M106,80 A9,0,0,56,24,24,24,24,24,60    ;  l 
  39. M114,80 A9,0,0,0,0,99,127,127,107,99    ;  m 
  40. M122,80 A9,0,0,0,0,126,99,99,99,99    ;  n 
  41. M130,80 A9,0,0,0,0,62,99,99,99,62    ;  o 
  42. M138,80 A11,0,0,0,0,110,51,51,51,62,48,48,120    ;  p 
  43. M146,80 A11,0,0,0,0,59,102,102,102,62,6,6,15    ;  q 
  44. M154,80 A9,0,0,0,0,110,51,51,48,120    ;  r 
  45. M162,80 A9,0,0,0,0,63,96,62,3,126    ;  s 
  46. M170,80 A9,0,0,8,24,62,24,24,26,12    ;  t 
  47. M178,80 A9,0,0,0,0,108,108,108,108,59    ;  u 
  48. M186,80 A9,0,0,0,0,108,108,108,60,24    ;  v 
  49. M194,80 A9,0,0,0,0,99,107,127,127,54    ;  w 
  50. M202,80 A9,0,0,0,0,99,54,28,54,99    ;  x 
  51. M210,80 A11,0,0,0,0,99,99,99,99,63,3,35,30    ;  y 
  52. M218,80 A9,0,0,0,0,126,76,24,50,126    ;  z 
  53. S312,72 0123456789"            ;print Starlet numbers
  54. S312,96 abcdefghijklmnopqrstuvwxyz"    ;print Starlet font
  55. M18,100 A9,28,62,99,99,127,99,99,99,99    ;  a - now uppercase
  56. M26,100 A9,126,51,51,51,62,51,51,51,126    ;  b 
  57. M34,100 A9,30,51,96,96,96,96,96,51,30    ;  c 
  58. M42,100 A9,124,54,51,51,51,51,51,54,124    ;  d 
  59. M50,100 A9,127,49,48,52,60,52,48,49,127    ;  e 
  60. M58,100 A9,127,49,48,52,60,52,48,48,120    ;  f 
  61. M66,100 A9,30,51,96,96,96,103,97,49,31    ;  g 
  62. M74,100 A9,99,99,99,99,127,99,99,99,99    ;  h 
  63. M82,100 A9,60,24,24,24,24,24,24,24,60    ;  i 
  64. M90,100 A9,15,6,6,6,6,6,102,102,60      ;  J 
  65. M98,100 A9,115,51,54,52,60,54,54,51,115    ;  k 
  66. M106,100 A9,120,48,48,48,48,48,49,51,127    ;  l 
  67. M114,100 A9,99,119,127,127,107,99,99,99,99    ;  m 
  68. M122,100 A9,99,115,123,127,111,103,99,99,99    ;  n 
  69. M130,100 A9,28,54,99,99,99,99,99,54,28    ;  o 
  70. M138,100 A9,126,51,49,51,62,48,48,48,120    ;  p 
  71. M146,100 A9,62,99,99,99,99,99,103,62,7    ;  q 
  72. M154,100 A9,126,51,49,51,62,60,54,50,115    ;  r 
  73. M162,100 A9,62,99,96,96,62,3,3,99,62    ;  s 
  74. M170,100 A9,127,89,24,24,24,24,24,24,60    ;  t 
  75. M178,100 A9,99,99,99,99,99,99,99,99,62    ;  u 
  76. M186,100 A9,99,99,99,99,99,99,99,62,8    ;  v 
  77. M194,100 A9,99,99,99,99,99,107,127,119,99;  w 
  78. M202,100 A9,99,99,54,54,28,54,54,99,99    ;  x 
  79. M210,100 A9,119,34,34,54,28,8,8,8,28    ;  y 
  80. M218,100 A9,127,99,70,12,24,48,97,99,127    ;  z 
  81. S312,112 ABCDEFGHIJKLMNOPQRSTUVWXYZ"    ;print Starlet font
  82. $                    ;done
  83.