home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 August / augusty_2000.iso / Windows-CE / Applications / basice / README.1ST < prev    next >
Encoding:
Text File  |  1998-02-01  |  3.8 KB  |  131 lines

  1.  
  2. BasiCe Installation Instructions:
  3.  
  4. A) Unpack files into an empty temporary directory on your PC
  5.    The distribution file is a ZIP file for PC (winzip).
  6.    Some of the files are long file names, so don't use pkunzip!
  7.  
  8.    1) If you have an SH3 machine -  (Casio, HP, Compaq, ...)
  9.       remove the BASICEMIP.EXE file
  10.       rename the BASICESH3.EXE file to BASICE.EXE
  11.    2) If you have a MIPS machine (Velo, NEC, ...)
  12.       remove the BASICESH3.EXE file
  13.       rename the BASICEMIP.EXE file to BASICE.EXE
  14.  
  15. B) On the HPC
  16.  
  17.   1) goto My Handheld PC directory
  18.   2) Create a folder called basice    NOT BASICE!
  19.   3) go into basice folder
  20.   4) Create a folder called lib       NOT LIB
  21.   5) Copy all the files ending with .utl to the lib directory
  22.   6) Copy grtest.bas and basice.exe to the basice directory
  23.   7) Copy basice.htp to the Windows directory on the HPC
  24.      (this must go here with the other .htp files otherwise
  25.       HELP will not work)
  26.       If you don't put this file here, you will see a message
  27.       "can not find e.htp" when you select Help|Index
  28.  
  29.  
  30. C) To start - double click on the basice icon
  31.  
  32. D) To run demo program
  33.  
  34.    1) Open the demo program using File|Open
  35.    2) Run the demo using Control|Run
  36.  
  37. deang@usa.net
  38.  
  39. http://www.jps.net/deang/basice.htm
  40.  
  41.  
  42. -----------------------------------------------------------------------------
  43. Version 1.1a update 31JAN98
  44. -----------------------------------------------------------------------------
  45.  
  46. 1) Added RUN command which acts the same as GO (starts a program)
  47. 2) Fixed font width problem that showed up on some windows ce 2.0
  48.    machines
  49. 3) Added capability to exit from basice from inside a program - added
  50.    the EXIT statement
  51. 4) Added capability to create a load-and-go shortcut so you can create
  52.    "canned" applications with basice.
  53.  
  54.    Create a short cut, open the properties page, select the
  55.    shortcut tab.  The Target field should read:
  56.  
  57.    "\basice\basice.exe"
  58.  
  59.    Change this to:
  60.  
  61.    "\basice\basice.exe" GO myprogram
  62.  
  63.    Then place your main program file in the \basice\lib directory
  64.    as the file myprogram.utl
  65.  
  66.    \basice\basice\lib\myprogram.utl
  67.  
  68.    PROCEDURE myprogram
  69.       !! put your program here
  70.    ENDPROC
  71.  
  72. 5) Added hot-key support to menus
  73. 6) Added RS232 communications support
  74.  
  75.    (REMEMBER: when you are connected to your desktop - the COM1 port
  76.     is already in use and you will not be able to use it from BASICE!)
  77.  
  78.    !EXAMPLE CODE-- OPEN CHANNEL TO COM1 PORT --------------------
  79.    CREATE "COM1:4800,N,8,1,H",2
  80.  
  81.    !EXAMPLE CODE-- CLOSE CHANNEL --
  82.    CLOSE 2
  83.  
  84.    !EXAMPLE CODE-- COM1 OUTPUT
  85.    PRINT #2, "Hello, World"
  86.  
  87.    !EXAMPLE CODE-- COM1 INPUT
  88.    A%=COMCH(2)
  89.    ! returns 0 if no character is available
  90.  
  91.  
  92.    !------ EXAMPLE SIMPLE TERMINAL PROGRAM ------
  93.    ! put this in the file \basice\lib\terminal.utl
  94.    !
  95.    ! Then, from the command line, you can type:
  96.    !     GO terminal("COM1:9600,N,8,1,H")
  97.    !
  98.  procedure terminal(port$)
  99.    open port$,1
  100.    loop
  101.       ! check input from rs232
  102.       loop
  103.          c%=comch%(1)
  104.          while c%
  105.          print chr$(c%);
  106.          endloop
  107.       ! check input from local kb
  108.       loop
  109.          k$=key$
  110.          while k$ <> chr$(0)
  111.          print #1, k$;
  112.          endloop
  113.       while k$ <> chr$(1)  ! ctrl a
  114.       endloop
  115.    endproc
  116.  
  117. 7) Fixed a bug which caused assignment translations to fail
  118. (missing routine in WINCE 1.x)
  119.    You can now assign a string expression to a real variable:
  120.  
  121.    A#="1.23"
  122.  
  123.    This provides a simple way to convert from string to real data type.
  124.  
  125. -----------------------------------------------------------------------------
  126. Version 1.1b update 1FEB98
  127. -----------------------------------------------------------------------------
  128. 1) Worked on an update for WINDOWS/CE 2.0 fonts
  129.  
  130.  
  131.