home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / basentry / !Help next >
Encoding:
Text File  |  1994-01-18  |  2.0 KB  |  69 lines

  1.                                  BasEntry v1.00
  2.  
  3.         ©HRMills 1992.
  4.  
  5.         For licence agreement, see the file 'License'
  6.  
  7. A brief conversation
  8. ====================
  9.         Hugo: What we need is a proper script language. You know - with loops and things.
  10.         Dave: We've got one. It's called BASIC.
  11.         Hugo: Yes, but what about parameter substitution, like in Obey files?
  12.         Dave: Well, can't you write something to do it?
  13.  
  14.         And so I did...
  15.  
  16. Usage
  17. =====
  18.         Make the following the first two lines of your code:
  19.  
  20.                 LIBRARY "%.BasEntry"
  21.                 PROCentry
  22.  
  23. This defines two variables - argc (a number) and argv$() (an array).
  24. These are identical to the argc and argv of C. Examples of the use of
  25. the BasEntry library are also included in the Library directory. These
  26. are designed for use in task windows (except WaitThen, which can be used
  27. in Obey files), and are described below.
  28.  
  29. Pause =====
  30.  
  31.         Pause <n>
  32.  
  33. waits for n centiseconds, then continues. Should only really be used in
  34. Task windows (but can be used in Obey files, at the expense of having
  35. the desktop hang up while the Obey file os paused).
  36.  
  37. WaitThen
  38. ========
  39.         WaitThen <n> <command> [-W]
  40.  
  41. waits for n centiseconds, then executes the command. If the -W option is
  42. present (in the last place), then it starts up as a wimp task (so that
  43. it can be used in Obey files).
  44.  
  45. WaitTill
  46. ========
  47.         WaitTill <var>
  48.  
  49. waits until the variable <var> is defined, then returns. This should
  50. only be used in Task windows.
  51.  
  52. And Finally...
  53. ==============
  54. If you're having trouble with the tabs in this file, expand them as
  55. 4-space tabs in !StrongEd2. What? You don't have a copy? Oh dear.
  56.  
  57.         Any correspondence, new backdrops, etc. can be sent to:
  58.  
  59.         Hugo Mills,
  60.         Gonville & Caius College,    or       12 Jesse Terrace,
  61.         Cambridge.                            Reading.
  62.         CB2 1TA                               RG1 7RT
  63.  
  64. or e-mailed to:
  65.  
  66.         hrm11@phx.cam.ac.uk
  67.  
  68. Any letter bombs, death-threats, etc. can be sent somewhere else. Please.
  69.