home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 20 / 020.d81 / t.auto.num < prev    next >
Text File  |  2022-08-26  |  880b  |  61 lines

  1.  
  2.          Auto Line Number
  3.  
  4.  
  5.  
  6. Written by: Jeff Johnson
  7.  
  8.  
  9.   Here is a small machine-language
  10.  
  11. routine that will automatically give
  12.  
  13. you line numbers when you begin
  14.  
  15. writing a program.
  16.  
  17.   To use Auto Line Number, simply
  18.  
  19. load the file using:
  20.  
  21.   LOAD "AUTO NUMBER",8,1  <RETURN>
  22.  
  23. and then
  24.  
  25.   NEW  <RETURN>
  26.  
  27.  
  28.   To activate the numbering, type
  29.  
  30. SYS 833.  This will give you the
  31.  
  32. standard increment value of 10 between
  33.  
  34. lines.  If you wish to change the
  35.  
  36. increment value, POKE it into memory
  37.  
  38. location two.  For example, to change
  39.  
  40. the increment to seven, you would
  41.  
  42. POKE 2,7.  To change where the line
  43.  
  44. numbering starts, delete the current
  45.  
  46. line number and put your own in.  Auto
  47.  
  48. Number will start with the last line-
  49.  
  50. number you entered.
  51.  
  52.   To deactivate Auto Line Number,
  53.  
  54. press the STOP key.
  55.  
  56.  
  57. >Files used: AUTO.NUM
  58.              AUTO NUMBER
  59.  
  60. ---------< end of article >-----------
  61.