home *** CD-ROM | disk | FTP | other *** search
/ Windows CE - The Ultimate Companion / ROMMAN_CE.iso / Files / Programming / Minibasic / miniBas.txt < prev    next >
Text File  |  1997-07-23  |  3KB  |  85 lines

  1. miniBasic for the Windows CE operating system
  2.  
  3. miniBasic is FREEWare from B&B Systems - Distribute Freely!
  4.  
  5. Copyright (c) 1996 - Brian Dormer / B&B Systems 
  6.  
  7. WEB: http://www.mindspring.com/~bnbweb 
  8.  
  9. EMAIL: bnbweb@mindspring.com
  10.  
  11. miniBasic is a technology demonstration of Basic for Windows CE. miniBasic is a TOY - It is NOT intended to be a commercial quality development system (but, as far as we know, IT IS THE FIRST available development system that runs standalone on Windows CE). Although miniBasic has been tested somewhat, it may crash. You could, possibly, lock up your HPC and lose all your data (although it hasn't happened to us yet). Use this program at your own risk! In any case, It's good computing practice to backup your HPC every now and then.
  12.  
  13. miniBasic was developed for the purposes of demonstrating Basic running on Windows CE and to provide a test-bed for refining the technology to bring a full-featured Basic to Windows CE. miniBasic is primitive - it's not even as sophisticated as some of the early microcomputer Basics (Radio Shack Level 1 Basic springs to mind). Even with these limitations, it's still lots of fun to play with!
  14.  
  15. B&B Systems expects to release a commercial product - Pocket Basic for the Windows CE operating system - in
  16. 2Q 1997.
  17.  
  18. miniBasic Commands
  19.  
  20. Immediate commands:
  21.  
  22.      NEW 
  23.      LIST 
  24.      OLD filename (note: no quotes Ex: OLD FOO.BAS) 
  25.      RUN 
  26.      SAVE filename (note: no quotes Ex: SAVE FOO.BAS) 
  27.      BYE 
  28.  
  29. Program statements:
  30.  
  31.      var = exp 
  32.      INPUT variable 
  33.      PRINT string 
  34.      PRINT exp 
  35.      GOTO exp 
  36.      IF exp THEN exp 
  37.      FOR var = exp TO exp 
  38.      NEXT variable 
  39.      GOSUB exp 
  40.      RETURN 
  41.      REM any text 
  42.      END 
  43.  
  44. Expressions 
  45.  
  46.      ( exp ) 
  47.      number (whole numbers only) 
  48.      variable (valid variable names are 1 character a..z) 
  49.      Unary - 
  50.      * / (multiply, divide - also boolean and, or) 
  51.      + - 
  52.      = <> 
  53.      > < 
  54.      <= >= 
  55.      (Boolean expressions are 0 for false and 1 for true)
  56.  
  57. Variables:
  58.  
  59.      all variables are integers 
  60.      variable names a to z 
  61.      all variables are initialized to 0 
  62.      there are no string variables 
  63.  
  64. Editing:
  65.  
  66.      Line number range 1-999 
  67.      A line number with nothing following it, deletes the line. 
  68.      SAVE'd Program files cannot exceed 10240 bytes 
  69.  
  70. Input format:
  71.  
  72.      ALL INPUT IS CONVERTED TO UPPERCASE. 
  73.      EXACTLY ONE space is needed between the OLD or SAVE command and the filename. No Quotes on the
  74.      filenames. 
  75.  
  76. Other notes:
  77.  
  78.      Very Minimal error checking is performed. 
  79.      There are almost no error messages. 
  80.      You can edit SAVEd programs in Pocket Word 
  81.  
  82.  
  83.  
  84. Email us at : bnbweb@mindspring.com
  85.