home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / baswiz14.zip / BASWIZ.REF < prev    next >
Text File  |  1990-09-28  |  9KB  |  301 lines

  1.                   The BASIC Wizard's Library Quick Reference
  2.  
  3.  
  4.  
  5. Evaluate Expression$, Result!, ErrCode%
  6.    Evaluates a numeric expression.
  7.  
  8. FBlockRead Handle%, Segm%, Ofs%, Bytes%
  9.    Reads a block from the specified file.
  10.  
  11. FBlockWrite Handle%, Segm%, Ofs%, Bytes%
  12.    Writes a block from the specified file.
  13.  
  14. FClose Handle%
  15.    Closes the specified file.
  16.  
  17. FDate Handle%, DateSt$
  18.    Sets the date stamp of the specified file.
  19.  
  20. FDone
  21.    Terminates the file handler.
  22.  
  23. FEOF% (Handle%)
  24.    Returns whether the end of the specified file has been reached.
  25.  
  26. FError Handle%, ErrCode%
  27.    Sets the error condition associated with the specified file.
  28.  
  29. FFlush Handle%
  30.    Flushes the specified file to disk to insure data integrity.
  31.  
  32. FGetDate$ (Handle%)
  33.    Gets the date stamp of the specified file.
  34.  
  35. FGetError% (Handle%)
  36.    Reports any error condition associated with the specified file.
  37.  
  38. FGetLocate& (Handle%)
  39.    Gets the position of the file read/write pointer of the specified file.
  40.  
  41. FGetSize& (Handle%)
  42.    Gets the size (in bytes) of the specified file.
  43.  
  44. FGetTime$ (Handle%)
  45.    Gets the time stamp of the specified file.
  46.  
  47. FInit Handles%, ErrCode%
  48.    Initializes the file handler.  For now, Handles% must be zero.
  49.  
  50. FLocate Handle%, Posn&
  51.    Sets the position of the read/write pointer for the specified file.
  52.  
  53. FOpen File$, FMode$, BufferLen%, Handle%, ErrCode%
  54.    Opens the specified file for access.  FMode$ may contain A,C,R,T,W.
  55.  
  56. FRead$ (Handle%, Bytes%)
  57.    Reads a string from the specified file.
  58.  
  59. FReadLn$ (Handle%)
  60.    Reads a string terminated by a <CR><LF> from the specified (text mode) file.
  61.  
  62. FSDone
  63.    Terminates the far string handler.
  64.  
  65. FSGet$ (Handle%)
  66.    Gets the specified far string.
  67.  
  68. FSInit UseEMS%
  69.    Initializes the far string handler.  For now, UseEMS% must be zero.
  70.  
  71. FSSet Handle%, St$
  72.    Sets the specified far string.
  73.  
  74. FTime Handle%, TimeSt$
  75.    Sets the time stamp of the specified file.
  76.  
  77. FWrite Handle%, St$
  78.    Writes a string to the specified file.
  79.  
  80. FWriteLn Handle%, St$
  81.    Writes a string followed by a <CR><LF> to the specified file.
  82.  
  83. GetDisplay Adapter%, Mono%
  84.    Gets information about the active display adapter.
  85.  
  86. GetEMS%
  87.    Gets the amount of EMS (expanded memory) available in Kbytes.
  88.  
  89. HGCls
  90.    Clears the screen and homes the cursor in Hercules graphics mode.
  91.  
  92. HGColor Fore%, Back%
  93.    Sets the colors for Hercules graphics mode (colors are 0-1).
  94.  
  95. HGGetColor Fore%, Back%
  96.    Gets the colors for Hercules graphics mode (colors are 0-1).
  97.  
  98. HGGetLocate Row%, Column%
  99.    Gets the cursor position for Hercules graphics mode (row 1-43, col 1-90).
  100.  
  101. HGLine Col1%, Row1%, Col2%, Row2%, Colour%
  102.    Draws a line in Hercules graphics mode (col 0-719, row 0-347, color 0-1).
  103.  
  104. HGLocate Row%, Column%
  105.    Sets the cursor position for Hercules graphics mode (row 1-43, col 1-90).
  106.  
  107. HGMode SMode%
  108.    Controls the screen mode for a Hercules card (0 text, 1 graphics).
  109.  
  110. HGPlot Column%, Row%, Colour%
  111.    Plots a point in Hercules graphics mode (col 0-719, row 0-347, color 0-1).
  112.  
  113. HGWrite St$
  114.    Displays a string in Hercules graphics mode.
  115.  
  116. HGWriteLn St$
  117.    Displays a string and moves to the next line in Hercules graphics mode.
  118.  
  119. MAllocate Bytes&, Ptr&, ErrCode%
  120.    Allocates the specified amount of memory, returning Ptr& or ErrCode%.
  121.  
  122. MDeallocate Ptr&, ErrCode%
  123.    Deallocates the block of memory specified by Ptr&.
  124.  
  125. MFill Ptr&, Value%, Bytes&
  126.    Fills the memory area starting at Ptr& with Value% for a number of Bytes&.
  127.  
  128. MGetChr$ (Ptr&)
  129.    Gets a character from a location specified by Ptr&.
  130.  
  131. MJoinPtr& (TSeg%, TOfs%)
  132.    Converts a segment and an offset into a pointer.
  133.  
  134. MMove FromPtr&, ToPtr&, Bytes&
  135.    Moves/copies from one area of memory to another.
  136.  
  137. MPutChr Ptr&, Ch$
  138.    Puts a character into a location specified by Ptr&.
  139.  
  140. MSplitPtr Ptr&, TSeg%, TOfs%
  141.    Converts a pointer to a segment and offset.
  142.  
  143. StartXmodemSend Handle%, Protocol$, Baud$, MaxRec%, Record%, EstTime$, ErrCode%
  144.    Initiates transfer of a file using the Xmodem file transfer protocol.
  145.  
  146. TCCarrier%
  147.    Gets whether a carrier is detected (0 no, -1 yes).
  148.  
  149. TCDone
  150.    Terminates the telecommunications handler.
  151.  
  152. TCDTR State%
  153.    Sets the state of the DTR (0 off, -1 on).
  154.  
  155. TCFlushIn
  156.    Flushes (clears) the receive buffer.
  157.  
  158. TCFlushOut
  159.    Flushes (clears) the transmit buffer.
  160.  
  161. TCInit Port%, InSize%, OutSize%, ErrCode%
  162.    Initializes the telecommunications handler.
  163.  
  164. TCInkey$
  165.    Gets a character from the input buffer ("" if none is waiting).
  166.  
  167. TCInStat%
  168.    Gets the number of bytes waiting in the input (receive) buffer.
  169.  
  170. TCOutStat%
  171.    Gets the number of bytes waiting in the output (transmit) buffer.
  172.  
  173. TCParms Parity$, WordLength%, StopBits%
  174.    Sets telecommunications parameters.
  175.  
  176. TCSpeed Bps&
  177.    Sets the speed of telecommunications (bits per second or "baud")
  178.  
  179. TCWrite St$
  180.    Puts a string into the transmit buffer.
  181.  
  182. TCWriteLn St$
  183.    Puts a string with a <CR><LF> into the transmit buffer.
  184.  
  185. WClear Handle%
  186.    Clears a virtual screen (like CLS).
  187.  
  188. WClose Handle%
  189.    Closes a virtual screen.  You may not close the background (zero) screen.
  190.  
  191. WCollapse Handle%
  192.    Makes a window disappear using a "collapse" effect.
  193.  
  194. WColor Handle%,  Fore%,  Back%
  195.    Selects the default text colors for a virtual screen (like COLOR).
  196.  
  197. WCopy FromHandle%, ToHandle%
  198.    Copies one virtual screen to another of the same size.
  199.  
  200. WCursor Handle%,  CSize%
  201.    Sets the cursor size for a window (zero makes cursor invisible).
  202.  
  203. WDelChr Handle%
  204.    Deletes the character at the cursor of a virtual screen.
  205.  
  206. WDelLine Handle%
  207.    Deletes the row at the cursor of a virtual screen.
  208.  
  209. WDone
  210.    Closes all virtual screens and terminates the Virtual Windowing System.
  211.  
  212. WExplode Handle%
  213.    Makes a window appear using an "explosion" effect.
  214.  
  215. WFixColor Convert%
  216.    Specifies whether to convert colors to be visible on a monochrome display.
  217.  
  218. WFrame Handle%,  Frame%,  Fore%,  Back%
  219.    Selects a frame type and frame colors for a window.
  220.  
  221. WGetColor Handle%, Fore%, Back%
  222.    Gets the default text colors for a virtual screen.
  223.  
  224. WGetCursor Handle%, CSize%
  225.    Gets the cursor size for a window (if zero, the cursor is off).
  226.  
  227. WGetFrame Handle%, Frame%, Fore%, Back%
  228.    Gets the frame type and frame colors of a window.
  229.  
  230. WGetLocate Handle%, Row%, Column%
  231.    Gets the cursor position for a virtual screen.
  232.  
  233. WGetPlace Handle%, Row%, Column%
  234.    Gets the display location of the upper left corner of a window.
  235.  
  236. WGetSize Handle%, Rows%, Columns%
  237.    Gets the size of a window.
  238.  
  239. WGetTitle Handle%, Title$, TLen%, Fore%, Back%
  240.    Gets the title and title colors of a window.
  241.  
  242. WGetTop Handle%
  243.    Gets which window is on top.
  244.  
  245. WGetUFrame Frame%, FrameInfo$
  246.    Gets the specification for a user-defined frame type (5-9).
  247.  
  248. WGetView Handle%, Row%, Column%
  249.    Gets the upper left corner of where a window starts in a virtual screen.
  250.  
  251. WGetVSize Handle%, Rows%, Columns%
  252.    Gets the size of a virtual screen.
  253.  
  254. WInit Rows%,  Columns%, ErrCode%
  255.    Initializes the Virtual Windowing System and opens the background v. screen.
  256.  
  257. WInput Handle%, Valid$, ExitCode$, ExtExitCode$, MaxLength%, St$, ExitKey$
  258.    Requests input from the user at the cursor of a virtual screen.
  259.  
  260. WInsChr Handle%
  261.    Inserts a space at the cursor of a virtual screen.
  262.  
  263. WInsLine Handle%
  264.    Inserts a blank row at the cursor of a virtual screen.
  265.  
  266. WLocate Handle%,  Row%,  Column%
  267.    Sets the cursor position of a virtual screen.
  268.  
  269. WOpen Rows%,  Columns%,  SRow1%,  SCol1%,  SRow2%,  SCol2%, Handle%, ErrCode%
  270.    Opens a new virtual screen and corresponding window.
  271.  
  272. WPlace Handle%,  Row%,  Column%
  273.    Sets the new upper left column of a window on the display.
  274.  
  275. WSize Handle%,  Rows%,  Columns%
  276.    Sets a new size for a window (must not be larger than the virtual screen).
  277.  
  278. WTitle Handle%, Title$,  Fore%,  Back%
  279.    Selects a title and title colors for a window.
  280.  
  281. WTop Handle%
  282.    Places a specified window on top.
  283.  
  284. WUpdate
  285.    Updates the display from the shadow screen.
  286.  
  287. WUserFrame Frame%, FrameInfo$
  288.    Sets the specification for a user-defined frame type (5-9).
  289.  
  290. WView Handle%,  Row%,  Column%
  291.    Sets a new starting point of a window within a virtual screen.
  292.  
  293. WWrite Handle%, St$
  294.    Prints a string to a virtual screen (like PRINT St$;).
  295.  
  296. WWriteLn Handle%, St$
  297.    Prints a string with a <CR><LF> to a virtual screen (like PRINT St$).
  298.  
  299. XmodemSend Handle%, Protocol$, MaxRec%, Record%, ErrCount%, ErrCode%
  300.    Continues transfer of a file using the Xmodem file transfer protocol.
  301.