home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ob140os2.zip / V127.TXT < prev    next >
Text File  |  1997-08-11  |  1KB  |  58 lines

  1. OmniBasic Version 1.25 Update:
  2.  
  3. 1) Misc. bug fixes
  4.  
  5. 2) Addition of RANDOMIZE statement
  6.    RANDOMIZE <IntVar>
  7.    If IntVar is ommited, the timer is used as the seed
  8.  
  9. 3) Addition of RND() function
  10.    x=RND()
  11.  
  12. 4) Loop variable optional on NEXT statement
  13.  
  14. 4) 'THEN' optional on IF (is NOT optional on IF Expr THEN Label)
  15.  
  16. 5) 'DO' optional on WHILE statement
  17.  
  18. 6) Addition of SELECT CASE statement (END CASE is optional)
  19.    SELECT CASE X
  20.            CASE 1
  21.                PRINT "1"
  22.            END CASE
  23.            CASE 2 TO 6
  24.                PRINT "2 to 6"
  25.            END CASE
  26.            CASE ELSE
  27.                PRINT "No match"
  28.            END CASE
  29.        END SELECT
  30.  
  31. 7) The following syntax (keyword substitutions are now allowed:
  32.    END IF for ENDIF
  33.    END LOOP for ENDLOOP
  34.    END WHILE OR WEND for ENDWHILE
  35.    END EXIT for ENDEXIT
  36.    END CASE for ENDCASE
  37.    END SELECT for ENDSELECT
  38.    #INCLUDE for #USE
  39.    CONST for #FIX
  40.    AS for : in DIM statement "DIM x:LONG" = "DIM x AS LONG"
  41.    * for [] in STRING DIM "DIM StrVar:STRING[32]" = "DIM StrVar AS STRING * 32"
  42.    SWAP for EXCHANGE
  43.    ' for REM
  44.    
  45. 7) Addition of CONTINUE statement
  46.    CONTINUE IF Expr
  47.    This may be used with:
  48.            FOR/NEXT
  49.            LOOP/ENDLOOP
  50.            REPEAT/UNTIL
  51.            WHILE/ENDWHILE
  52.    The effect is to do the next iteration inside the control structure.
  53.    
  54. 8) For Linux version only: xforms support has been added including fdesign
  55.  
  56. 9) Spaces are now allowed on either side of an operator.
  57.    "c=a+b" = "c = a + b"
  58.