home *** CD-ROM | disk | FTP | other *** search
/ ftp.uni-stuttgart.de/pub/systems/acorn/ / Acorn.tar / Acorn / acornet / dev / basic / blink.spk / !Help next >
Text File  |  1995-03-29  |  3KB  |  75 lines

  1.  
  2. About blink
  3. ÿÿÿÿÿÿÿÿÿÿÿ
  4. This utility is a `linker' for Basic files. It scans a Basic program for LIBRARY commands. Then it looks for any PROCs or FNs that are used in the main program, and defined in a library. These are then appended to the main program.
  5.  
  6. This enables you to develop your programs using procedures from a library. When you have tested your program, you can use blink for the final assembly. You can use multiple libraries. The libraries may contain procedures that you do not need in your current project; if they are not used, blink will not include them.
  7.  
  8. The program requires RiscOS version 3.10 or later.
  9.  
  10. blink is FreeWare. For conditions of use, read the copyright notice at the end of this file.
  11.  
  12.  
  13. How to use it
  14. ÿÿÿÿÿÿÿÿÿÿÿÿÿ
  15. The program is run from the command line. The command syntax is:
  16.  
  17.     blink [options] infile [outfile]
  18.  
  19. where <infile> is name of the main program, and <outfile> is the name under which the output must be stored. If no <outfile> is provided, then <infile> is overwritten with the output.
  20.  
  21. For options, you can choose:
  22.  
  23.   -h        Print a help text about the command syntax, then quit.
  24.   -l<file>  Use <file> as additional library. This may be useful in case
  25.             blink can not read the name of the library (see below).
  26.   -r        Include REM lines that precede a PROC or FN definition. Such
  27.             lines usually describe what the procedure does.
  28.   -v        Verbose, i.e. report on the progress.
  29.  
  30. A couple of points to note when using blink:
  31.  
  32.  Å The format of PROC/FN definitions should follow one rule: the terminating
  33.    `ENDPROC' (or `= <something>' for a FN) MUST be at the start of a new line.
  34.    The terminator may be preceded by spaces, but anything else will confuse
  35.    blink. This means that you can't use libraries that have been treated by a
  36.    cruncher (since cruncher usually concatenate lines).
  37.  
  38.  Å The name that is given in the LIBRARY command is taken as a literal
  39.    filename. This means that constructions that must be evaluated by Basic,
  40.    such as
  41.  
  42.        LIBRARY MyDir$+".WimpLib"
  43.  
  44.    won't work (blink will print a warning message). If you still want this
  45.    sort of thing, use the `-l' option to tell blink the name of the library.
  46.  
  47.  Å *All* LIBRARY commands will be commented out by blink. That is, `LIBRARY'
  48.    is replaced with `REM{'.
  49.  
  50.  Å Libraries may contain LIBRARY commands. These libraries will also be read.
  51.  
  52.  Å If a procedure is defined more than once, blink will print a warning
  53.    message.
  54.  
  55.  Å The lines in the output file are renumbered, starting at 1 and with an
  56.    increment of 1.
  57.  
  58.  Å REM lines are only included (with the `-r' option) if there are no other
  59.    lines between the last REM line and the DEF that follows. 
  60.  
  61.  Å Procedures in the main file are always included in the output, whether
  62.    they are used or not.
  63.  
  64.  
  65. Copyright notice
  66. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  67. This program is FreeWare. This means that I retain the copyright. You may freely copy and distribute it, provided that it is complete with all original files, and that you do not sell it. PD libraries may charge a nominal fee for the cost of duplication, postage etc. When you use the program, you do so entirely at your own risk.
  68.  
  69. Dick Alstein
  70. Lijnslagerstraat 204
  71. 5625 BP  Eindhoven
  72. The Netherlands
  73.  
  74. e-mail: wsinda@win.tue.nl
  75.