home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / BASIC / ASIC20.ZIP / ASICV20.NOT < prev    next >
Encoding:
Text File  |  1990-09-25  |  6.9 KB  |  265 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      ASIC 2.0
  6.                                    Version Notes
  7.                                      09/25/90
  8.  
  9.  
  10.        ASIC is a BASIC language compiler for IBM PC's and compatibles.  It
  11.        includes an integrated full screen editor, from which you can edit,
  12.        compile, and debug your programs.  Or at your option, you can use your
  13.        own text editor, and compile your programs from the MS DOS command
  14.        line.
  15.  
  16.        ASIC is a subset of BASICA/GWBASIC which supports over 60 BASIC
  17.        statements, integer and string variables, and integer arrays.
  18.  
  19.        This document describes features in ASIC version 2.0 not found in
  20.        previous versions. Enhancements to the integrated environment are
  21.        listed first, followed by enhancements to the compiler.
  22.  
  23.  
  24.        ****************** INTEGRATED ENVIRONMENT ENHANCEMENTS ***************
  25.  
  26.  
  27.  
  28.        SOURCE LEVEL DEBUGGER
  29.  
  30.             Use this new tool to help debug your programs from within the
  31.        integrated environment.  Execute your program up to a breakpoint, or
  32.        single step through your program.  Examine or modify the contents of
  33.        your program's variables, and view the screen created by your program.
  34.        If you wish, while at a breakpoint, you can also abort your program.
  35.  
  36.  
  37.        SHORT CUT KEYS
  38.  
  39.  
  40.             All of the ASIC editor commands are easily accessed from "pull
  41.        down"  menus.  In ASIC 2.0, some commands which are frequently used,
  42.        may also be executed via "Hot" keys (Function Keys).
  43.  
  44.  
  45.        REPEAT LAST SEARCH
  46.  
  47.             The editor now remembers the last string you searched for.  You
  48.        can search for the next occurence in the file by selecting this
  49.        function.
  50.  
  51.  
  52.        PULL DOWN MENUS (Enhanced)
  53.  
  54.             Once you have pulled down a menu, you can switch to a different
  55.        menu by pressing the left or right arrow keys.  In ASIC 1.x, you had
  56.        to close the menu to pull down a new menu.
  57.  
  58.  
  59.        FILE READ/WRITE COUNT
  60.  
  61.             When reading or writing a file in the editor, ASIC will now
  62.        display a running count of records read or written on the status line.
  63.  
  64.  
  65.                                       Page - 1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                      ASIC 2.0
  72.                                    Version Notes
  73.                                      09/25/90
  74.  
  75.  
  76.        ********************** COMPILER ENHANCEMENTS **********************
  77.  
  78.  
  79.        BLOAD
  80.  
  81.             This statement loads a specified number of bytes from a disk file
  82.        to any location in memory.
  83.  
  84.  
  85.        BSAVE
  86.  
  87.             This statement saves a specified number of bytes from any
  88.        location in memory to a disk file.
  89.  
  90.  
  91.        COMMAND$
  92.  
  93.             This statement will retrieve any parameters typed on the command
  94.        line following the program name when your ASIC program is invoked.
  95.  
  96.  
  97.        DATE$
  98.  
  99.             This statement retrieves the system date.
  100.  
  101.  
  102.        TIME$
  103.  
  104.             This statement retrieves the system time.
  105.  
  106.  
  107.        TIMER
  108.  
  109.             This statement may be used to time events.
  110.  
  111.  
  112.        END  (Enhanced)
  113.  
  114.             This statement has been enhanced to allow you to optionally
  115.        specify a return code in your programs, which could be checked by
  116.        another program, or a ".BAT" type file.
  117.  
  118.  
  119.        RUN/CALL
  120.  
  121.             These statements will allow you to run other programs from within
  122.        an ASIC program.  You may pass parameters to the called program, and
  123.        when the called program terminates, your ASIC program will regain
  124.        control.
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       Page - 2
  132.  
  133.  
  134.  
  135.  
  136.  
  137.                                      ASIC 2.0
  138.                                    Version Notes
  139.                                      09/25/90
  140.  
  141.  
  142.        INP
  143.  
  144.             This statement will read a byte from a hardware port.
  145.  
  146.  
  147.        OUT
  148.  
  149.             This statement will write a byte to a hardware port.
  150.  
  151.  
  152.        SERIAL PORT SUPPORT  (OPENCOM/COMSTAT/SEND/RECEIVE)
  153.  
  154.             These statements allow you to control the serial ports on the PC.
  155.        Initialize the port, check it's status, send a byte or receive a byte.
  156.  
  157.  
  158.        NAME
  159.  
  160.             This statement will allow you to rename disk files from within
  161.        your program.
  162.  
  163.  
  164.        MKDIR
  165.  
  166.             This statement will allow you to create new DOS directories from
  167.        within your program.
  168.  
  169.  
  170.        CHDIR
  171.  
  172.             This statement will allow you to change the current DOS directory
  173.        from within your program.
  174.  
  175.  
  176.        RMDIR
  177.  
  178.             This statement will allow you to delete an empty DOS directory
  179.        from within your program.
  180.  
  181.  
  182.        READ/DATA
  183.  
  184.  
  185.             These statements allow you to imbed data in your program, and
  186.        then read this data into program variables.
  187.  
  188.  
  189.        RESTORE
  190.  
  191.             Resets DATA block so that it may be reread with the READ
  192.        statement.
  193.  
  194.  
  195.  
  196.  
  197.                                       Page - 3
  198.  
  199.  
  200.  
  201.  
  202.  
  203.                                      ASIC 2.0
  204.                                    Version Notes
  205.                                      09/25/90
  206.  
  207.  
  208.  
  209.        KILL
  210.  
  211.             This statement will allow you to delete a DOS file from within
  212.        your program.
  213.  
  214.  
  215.        CODE
  216.  
  217.             This statement will allow you to insert machine language code
  218.        directly into your program.
  219.  
  220.  
  221.        CSRLIN
  222.  
  223.             This statement replaces the old CRSLIN statement.  It is
  224.        functionally equivalent to CRSLIN.  It was renamed to match the
  225.        BASICA/GWBASIC Spelling.
  226.  
  227.        INPUT# (Enhanced)
  228.  
  229.             ASIC 1.0 truncated strings greater than 80 characters long.  ASIC
  230.        will now allow you to read strings of any length, in 80 character
  231.        increments.
  232.  
  233.        PRINT# (Enhanced)
  234.  
  235.             ASIC 1.0 always added a NULL character to strings written to
  236.        disk.  In ASIC 2.0, you can optionally suppress this NULL character,
  237.        to facilitate reading the data in other non-ASIC programs.
  238.  
  239.  
  240.        ****************** KEYWORD LIST FOR VERSION 2.0 ********************
  241.  
  242.  
  243.        AS        ABS       ASC       BLOAD     BSAVE     CALL      CHDIR
  244.        CHR$      CLOSE     CLS       CODE      COLOR     COMMAND$  COMSTAT
  245.        CSRLIN    DATA      DATE$     DEFSEG    DIM       ELSE      END
  246.        FOR       GOSUB     GOTO      IF        INKEY$    INP       INPUT
  247.        INPUT#    KILL      LEN       LOCATE    LPRINT    MID$      MKDIR
  248.        NAME      NEXT      OPEN      OPENCOM   OUT       PEEK      POINT
  249.        POKE      POS       PRESET    PRINT     PRINT#    PSET      RANDOMIZE
  250.        READ      RECEIVE   REM       RESTORE   RETURN    RMDIR     RND
  251.        RUN       SCREEN    SEND      SOUND     STR$      THEN      TIME$
  252.        TIMER     TO        VAL       VARPTR    WIDTH     ZBIT      ZMODE
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.                                       Page - 4
  264.  
  265.