home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpmhelp / bascom.hlp < prev    next >
Text File  |  1994-07-27  |  4KB  |  96 lines

  1. Command Differences BASIC-80 v. BASCOM
  2. BASCOM Commands Line
  3. BASCOM Switches
  4. BASCOM Compile-Time Error Messages
  5. BASCOM Run Time Error Messages
  6. :Command Differences BASIC-80 V. BASCOM
  7.  
  8. Thσ followinτ direc⌠ modσ command≤ arσ NO╘ implementeΣ oε thσ compile≥á anΣ ì
  9. wil∞ generatσ aε erro≥ messagσ:
  10.  
  11.     AUTO        CLOAD        CSAVE        CONT
  12.     DELETE        EDIT        ERASE        LIST
  13.     LLIST        LOAD        MERGE        NEW
  14.     RENUM        SAVE
  15.  
  16.  
  17. Thσá followinτ statement≤ arσ useΣ differentl∙ witΦ thσ compile≥ thaεá witΦ ì
  18. thσ interprete≥ (refe≥ t∩ thσ manua∞ fo≥ details⌐:
  19.  
  20.     CALL        CHAIN        CLEAR        COMMON
  21.     COS        DEFINT        DEFSNG        DEFDBL
  22.     DEFSTR        DIM        END        ERASE
  23.     EXP        FOR/NEXT    LOG        ON ERROR GOTO
  24.     RESUME n    REM        RUN        SIN
  25.     STOP        SQR        TAN        TROFF
  26.     TRON        USRn        WHILE/WEND    %INCLUDE
  27. :BASCOM Commands Line
  28.  
  29. Thσ compile≥ i≤ invokeΣ b∙ thσ BASCO═ command, as follows:
  30.  
  31.           BASCOM
  32. or
  33.           BASCOM command line
  34.  
  35.     where "command line" is:
  36.  
  37.           [dev:][obj file][,[dev:][lst file]]=[dev:]source file[/switch ...]
  38.  
  39. Iµ jus⌠ BASCO═ i≤ used¼á thσ use≥ wil∞ bσ prompteΣ witΦ aε asterisk¼á afte≥ ì
  40. whicΦ hσ shoulΣ ente≥ thσ commanΣ line.
  41. :BASCOM Switches
  42.  
  43. CONVENTIONS:
  44. /4   Recognize Microsoft 4.51 BASIC Interpreter conventions (/C not allowed)
  45. /T   Use MBASIC 4.51 execution conventions.
  46. /├á  Rela°á linσá numberinτá  constraints╗áá line≤á neeΣá no⌠á bσá numbereΣ ì
  47.      sequentially; /4 and /C may not be used together
  48.    * Note: use /4/T for 4.51 lexical and execution conventions
  49.  
  50. ERROR TRAPPING:
  51. /E   Use this switch if ON ERROR GOTO with RESUME <line number> is used
  52. /╪   Usσ thi≤ switcΦ iµ O╬ ERRO╥ GOT╧ witΦ RESUME¼ RESUM┼ 0¼ o≥ RESUM┼ NEX╘ ì
  53.      is usedè
  54. SPECIAL CODE:
  55. /Z   Use Z80 opcodes
  56. /N   Do not list disassembled object code in the listing file
  57. /O   Substitute the OBSLIB.REL runtime library for BASLIB.REL as the default
  58.      runtime library searched by the linker after a linker /E or /G switch.
  59. /D   Generate debug code for runtime error checking
  60. /S   Write quoted strings of more than 4 chars as they are encountered
  61.      to an .REL file and not to data area in RAM. 
  62. :BASCOM Compile-Time Error Messages
  63.  
  64. COMPILE-TIME FATAL ERRORS:
  65.  
  66.     BS  Bad Subscript            OV  Math Overflow
  67.     CD  Duplicate COMMON Variable    SN  Syntax Error
  68.     CN  COMMON Array Not Dimensioned    SQ  Sequence Error
  69.     CO  COMMON Out of Order        TC  Too Complex
  70.     DD  Array Already Dimensioned    TM  Type Mismatch
  71.     FD  Function Already Defined    UC  Unrecognizable Command
  72.     FN  FOR/NEXT Error            UF  Function Not Defined
  73.     IN  %INCLUDE Error            WE  WHILE/WEND error
  74.     LL  Line Too Long            /0  Division by Zero
  75.     LS  String Constant Too Long    /E  Missing '/E' Switch
  76.     OM  Out of Memory            /X  Missing '/X' Switch
  77.  
  78.  
  79. COMPILE-TIME WARNING ERRORS:
  80.  
  81.     ND  Array Not Dimensioned        SI  Statement Ignored
  82. :BASCOM Run Time Error Messages
  83.  
  84.       2   Syntax error             52   Bad file number
  85.       3   RETURN without GOSUB     53   File not found
  86.       4   Out of data              54   Bad file mode
  87.       5   Illegal function call    55   File already open
  88.       6   Floating/Integer ovfl    57   Disk I/O error
  89.       9   Subscript out of range   58   File already exists
  90.      11   Division by zero         61   Disk full
  91.      14   Out of string space      62   Input past end
  92.      20   RESUME without error     63   Bad record number
  93.      21   Unprintable error        64   Bad filename
  94.      50   Field overflow           67   Too many files
  95.      51   Internal error
  96.