home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / lout2.lzh / LOUT2 / DOC / TR.LOUT / ch3.14 < prev    next >
Text File  |  1994-01-25  |  556b  |  18 lines

  1. @Section
  2.    @Title { "@Next" }
  3.    @Tag { next }
  4. @Begin
  5. @PP
  6. next.sym @Index { @@Next symbol }
  7. The symbol @@Next returns its parameter
  8. plus one.  It is rather clever at working this out:  it hunts through
  9. the parameter from right to left, looking for a number to increment:
  10. @ID @Code {
  11. "@Next (3.99)"
  12. }
  13. has result {@Next (3.99)}.  If @@Next cannot find a digit inside
  14. its parameter, it is an error.  Roman numerals are handled by storing
  15. them in a database, as explained in Section {@NumberOf paras};
  16. @@Next will not increment a Roman numeral.
  17. @End @Section
  18.