home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / advbas.zip / WARNING.TXT < prev    next >
Text File  |  1988-04-02  |  3KB  |  68 lines

  1.  
  2. WARNING!
  3.      Microsoft's QuickBASIC compilers versions 3.0 - 4.0 have bugs in them
  4.      that affect ADVBAS users!
  5.  
  6.  
  7.  
  8. QuickBASIC 3.0:
  9.      If you compile a program using ADVBAS in the programming environment
  10.      with the compile-to-BCOM30 option, the results will be unreliable at
  11.      best.  If you need to generate stand-alone programs, do not use the
  12.      programming environment with compile-to-BCOM30.  Instead, compile
  13.      from the command line.  Check your QuickBASIC manual for more
  14.      information if you are unfamiliar with that method.  A typical syntax
  15.      will be:
  16.  
  17.      QB filename/O;
  18.  
  19.      with a letter "O", not the number zero.  You may need additional
  20.      switches besides the "/O", depending on your program.
  21.  
  22.  
  23.  
  24. QuickBASIC 4.0:
  25.      If you compile a program using ADVBAS in the programming environment
  26.      to an EXE file, your program will be much larger than it should be,
  27.      if it is correctly created at all.  QB4 generates an unusual and
  28.      arguably inappropriate syntax for linking the file. Instead of using
  29.      the environment to compile to EXE files, use the stand-alone BC.EXE
  30.      compiler from the command line.  A typical syntax will be:
  31.  
  32.      BC filename;
  33.      LINK filename/EX,,NUL,ADVBAS
  34.  
  35.      You can also use the standard switches with BC to produce different
  36.      output: "/O" for stand-alone (as opposed to BRUN-dependent), "/D" for
  37.      debug, "/ZI" for CodeView, and so forth.  Check your QB manual for
  38.      more details.
  39.  
  40.      Also note that Microsoft has changed the internal handling of static
  41.      arrays (not a bug as such, but certainly a nuisance), which
  42.      means that GETSCREEN and PUTSCREEN will not work with QuickBASIC 4.0.
  43.      Other array routines will work with the stand-alone version of the
  44.      compiler, BC.EXE, but not in the programming environment provided by
  45.      QB.EXE (due to a bug in QB.EXE).  So, you will be able to use all
  46.      array routines except GETSCREEN and PUTSCREEN, but only in programs
  47.      compiled using BC.EXE, not in the programming environment.  It is
  48.      possible to get around this problem, which I have done with the
  49.      commercial version of the library, ProBas.  However, the changes to
  50.      the routines are fairly drastic, and I can't put them in ADVBAS
  51.      without violating my contract with HCSI.  So, if you really need to
  52.      use the array routines in the QB4 environment, get yourself a copy of
  53.      ProBas (see the PROBAS.DOC file).  It's guaranteed to be a more
  54.      effective solution than trying to get Microsoft to fix the problem!
  55.  
  56.      QuickBASIC 4.0 also zeroes the comm ports in the BIOS RAM area when
  57.      you use communications.  At a guess, this is for OS/2 and other
  58.      multitaskers, so other programs don't try to use the comm ports when
  59.      QB is using them.  It causes a number of problems, though-- if your
  60.      program crashes, the computer will forget that it ever had comm ports
  61.      until you reboot.  This also interacts badly with CHAIN, so you can't
  62.      reliably use CHAIN with communications.
  63.  
  64.      There have been a number of bugs reported with fixed-length strings
  65.      and long integers.  The amount of available string space has been
  66.      decreased, which can be a real problem.  QB4 is also extremely
  67.      machine-dependent, and will not necessarily work on your clone.
  68.