home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_opus / oac121.arj / OACOMP.116 < prev    next >
Text File  |  1990-07-31  |  4KB  |  72 lines

  1. Changes made for version 1.16
  2.  
  3.   In the .DOC file I mentioned that a local token file could be in the
  4.   same directory as the OACOMP.EXE file. It couldn't. Now it can.
  5.  
  6.   New switch: /COL=nn defines the standard colour used. If defined, the
  7.   warning messages will appear in bright green on black, and error
  8.   messages as bright white on red. The colour defined with the /COL=nn
  9.   then defines what colour to return to afterwards. If not defined, no colour
  10.   change is ever done by OACOMP.
  11.  
  12.   The problem people have had with getting the key checking codes to work
  13.   have now finally (I hope) been solved. The error was in the documentation
  14.   that I used when designing OACOMP, which stated that
  15.  
  16.       ^PK###    If user doesn't have keys ###, end file.            
  17.       ^PP###    If user doesn't have keys ###, skip rest of line    
  18.       ^PN###    If user have keys ###, end file.                 
  19.       ^PO###    If user have keys ###, skip rest of line.           
  20.  
  21.   when in fact it was
  22.  
  23.       ^PN###    If user doesn't have keys ###, end file.            
  24.       ^PO###    If user doesn't have keys ###, skip rest of line    
  25.       ^PK###    If user have keys ###, end file.                 
  26.       ^PP###    If user have keys ###, skip rest of line.           
  27.  
  28.   ie. they had the reverse meaning of the one documented. This is now fixed.
  29.   I have tried it out on my own OPUS 1.13 and it works, IF you use the format
  30.  
  31.   [LineKey]xxx This is only shown if user has key x.
  32.   [LineKey]xxx [LineKey]yyy This is only shown if user has both key x and y.
  33.  
  34.   In previous version, I forgot to empty the SAVE/LOAD stack between each
  35.   file if compiling multiple files in one go (with wildcards). This could
  36.   lead to erroneous reports of stack overflow, if you had imbalanced
  37.   SAVE/LOAD in your previous files. Such an imbalance is now flagged as
  38.   a warning and reported to screen.
  39.  
  40.   A minor glitch exist in the way that Opus/Avatar COMPiler packs the
  41.   repeated byte sequences. If you want to use the command
  42.         [NLineKey]PPP <whatever>
  43.   OACOMP will translate this into ^PPPPP and then pack the four P's into
  44.   ^P^Y^DP which is incorrect. This glitch has not been solved yet, but
  45.   now at least you are aware of it. You can avoid this problem by typing
  46.         [NLineKey]ppp <whatever>
  47.   ie. use lower case P's to prevent packing. The same goes for the [LineKey]
  48.   token (which uses O character).
  49.  
  50.   Due to popular demand (sounds great, right?) Opus/Avatar COMPiler can now
  51.   compile .OEC files with lines longer than 255 characters. To enable this
  52.   feature, you must use the /LONG switch on the invocation of OACOMP. You
  53.   can turn this on permanently by issuing the command SET OACOMP=/LONG in
  54.   your AUTOEXEC.BAT file.
  55.  
  56.   *** NOTE: If you specify the /LONG switch, OACOMP will perform two passes
  57.             on the file. First to compile it and then to pack it. If the
  58.             compilation result in lines longer than 255 characters, OACOMP
  59.             will not pack it correctly. Specify /PACK- in these cases.
  60.  
  61.   To enable compilation of .OEC files with lines longer than 255 characters,
  62.   I had to make some adjustments to the internal workings of the compiler.
  63.   This means that if you use the [<operator> <privilege> QUIT] command in
  64.   any of your .OEC files, you *must* terminate the line after the token.
  65.   Previous version of Opus/Avatar COMPiler did this for you, but this version
  66.   doesn't! This means that a construct like:
  67.     [EQ AsstSysop QUIT]This is not shown to AsstSysops
  68.   *must* be coded as two seperate lines:
  69.     [EQ AsstSysop QUIT]
  70.     This line is not shown to AsstSysops
  71.  
  72.