home *** CD-ROM | disk | FTP | other *** search
/ Fujiology Archive / fujiology_archive_v1_0.iso / !MAGS / ICTARI / ICTARI24.ZIP / STOS / MESSAGES / MESSAGE$.TXT < prev   
Text File  |  2004-03-07  |  2KB  |  32 lines

  1. MESSAGE$
  2. --------
  3.  
  4.  
  5.         I know it's maybe a bit of a cryptic name, but that's what the
  6. routine is called, so there.  What  MESSAGE$  actually does is takes a
  7. variable and turns it into a  string.   The  clever part is that it at
  8. the same time turns a number  of  PENCE  into Pounds and Pence.  ie it
  9. turns 1045 (as a variable) into £ 10.45  (as a string).  This is a lot
  10. harder to do than it sounds, and the finished routine now is about  as
  11. much like the original routine  as  the  Falcon  is like the ZX81 (for
  12. those among you that are a bit slow on the uptake, that is NOT A LOT).
  13.  
  14.         This routine was actually created  for STock Controller v.1.5,
  15. which will hopefully be released soon (see HELPME!.TXT for details..),
  16. and took approximately, um, a  long  time  to perfect.  Anyhow, if you
  17. can actually work out how it works (and I'm not altogether sure that I
  18. know really), then I hope it  you  find  it useful.  Even if you can't
  19. for the life of you work out how  it works, then you can still use it,
  20. so don't worry if string handling leaves you cold.
  21.  
  22.         The ASCII routine uses lines  55000-55040,  so  if you want to
  23. use it in your programs then you  will need to either keep these lines
  24. free or change the line numbers in the routine.  I don't know for sure
  25. if it is usable on other BASIC's, but you can always try.
  26.  
  27.         (Coding and documentation by David Seaman of Digital Designs)
  28. ----------------------------------------------------------------------
  29.  
  30.  
  31.  
  32.