home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progbas / pbwiz12.arj / PBWIZ.REF < prev    next >
Encoding:
Text File  |  1992-02-28  |  15.0 KB  |  600 lines

  1. AllExtMem&
  2.    returns the total amount of extended memory installed
  3.  
  4. AltPress%
  5.    returns whether an ALT key is pressed
  6.  
  7. AntiSnow (Slow%)
  8.    makes text-mode video routines slower, but prevents flicker on old CGAs
  9.  
  10. ArcCosD# (Nr#)
  11.    returns the inverse cosine of a number
  12.  
  13. ArcCosHD# (Nr#)
  14.    returns the inverse hyperbolic cosine of a number
  15.  
  16. ArcCosHS! (Nr!)
  17.    returns the inverse hyperbolic cosine of a number
  18.  
  19. ArcCosS! (Nr!)
  20.    returns the inverse cosine of a number
  21.  
  22. ArcSinD# (Nr#)
  23.    returns the inverse sine of a number
  24.  
  25. ArcSinHD# (Nr#)
  26.    returns the inverse hyperbolic sine of a number
  27.  
  28. ArcSinHS! (Nr!)
  29.    returns the inverse hyperbolic sine of a number
  30.  
  31. ArcSinS! (Nr!)
  32.    returns the inverse sine of a number
  33.  
  34. ArcTanHD# (Nr#)
  35.    returns the inverse hyperbolic tangent of a number
  36.  
  37. ArcTanHS! (Nr!)
  38.    returns the inverse hyperbolic tangent of a number
  39.  
  40. CalcAttr% (Fore%, Back%)
  41.    converts foreground and background colors into a color/attribute
  42.  
  43. CalcSize% (INTEGER, INTEGER, INTEGER, INTEGER)
  44.    calculates the bytes needed to store a screen image, - 2
  45.  
  46. CapsOn%
  47.    returns the state of the CapsLock key toggle
  48.  
  49. CDROM%
  50.    returns whether a CD-ROM drive is installed and available
  51.  
  52. Cent2Fahr! (Nr!)
  53.    converts from centigrade to Fahrenheit
  54.  
  55. CheckSum% (St$)
  56.    calculates a simple checksum for a string
  57.  
  58. Cipher (St$, Password$)
  59.    encrypts or decrypts a string
  60.  
  61. CipherP (St$, Password$)
  62.    encrypts or decrypts a string, leaving encrypted strings printable
  63.  
  64. ClearKbd
  65.    clears the keyboard buffer of any pending keys
  66.  
  67. CloseA
  68.    closes an archive which was opened by FindFirstA
  69.  
  70. CosHD# (Nr#)
  71.    returns the hyperbolic cosine of a number
  72.  
  73. CosHS! (Nr!)
  74.    returns the hyperbolic cosine of a number
  75.  
  76. CotD# (Nr#)
  77.    returns the cotangent of a number
  78.  
  79. CotS! (Nr!)
  80.    returns the cotangent of a number
  81.  
  82. CRC16 (St$, HiCRC%, LoCRC%)
  83.    returns the 16-bit Xmodem-style CRC of a string
  84.  
  85. Crunch$ (St$, CharList$)
  86.    removes adjacent duplicates of a set of characters from a string
  87.  
  88. CscD# (Nr#)
  89.    returns the cosecant of a number
  90.  
  91. CscS! (Nr!)
  92.    returns the cosecant of a number
  93.  
  94. CtrlPress%
  95.    tells you whether a CTRL key is being pressed
  96.  
  97. Date2Num& (DateSt$)
  98.    converts a date from string format to a number
  99.  
  100. Deg2RadD# (Nr#)
  101.    converts from degrees to radians
  102.  
  103. Deg2RadS! (Nr!)
  104.    converts from degrees to radians
  105.  
  106. DelayV (MilliSec%)
  107.    provides a delay of roughly one millisecond, based on the video card
  108.  
  109. DelimExtract$ (St$, Delimiter$, Index%)
  110.    extracts a specified delimited substring from a string
  111.  
  112. DOSCls
  113.    clears the screen, using DOS output and ANSI codes
  114.  
  115. DOSColor (Fore%, Back%)
  116.    sets the screen colors, using DOS output and ANSI codes
  117.  
  118. DOSLocate (Row%, Column%)
  119.    sets the cursor position, using DOS output and ANSI codes
  120.  
  121. DOSPrint (STRING)
  122.    displays a string using DOS output
  123.  
  124. DRDOS%
  125.    returns whether DR DOS is in use
  126.  
  127. EMSclose (Handle%)
  128.    closes an EMS handle that was opened by EMSopen
  129.  
  130. EMSexists%
  131.    tells you whether EMS memory is available
  132.  
  133. EMSfree%
  134.    tells you how much EMS memory is available (in pages of 16k bytes)
  135.  
  136. EMSmap (Handle%, PhysPage%, VirtPage%)
  137.    maps a page of EMS memory into an area you can reach
  138.  
  139. EMSopen (Pages%, Handle%, ErrCode%)
  140.    opens a block of EMS memory for access (1 page = 16k bytes)
  141.  
  142. EMSopt (Fast%)
  143.    allows faster access to EMS memory, given some restrictions
  144.  
  145. EMSresize (Handle%, Pages%, ErrCode%)
  146.    changes the size of an allocated block of EMS memory
  147.  
  148. EMSseg&
  149.    returns the segment at which you can access EMS memory by mapping it in
  150.  
  151. EMStotal%
  152.    returns the total amount of EMS memory (in pages of 16k bytes)
  153.  
  154. EMSver (MajorV%, MinorV%)
  155.    returns the version of the EMS driver
  156.  
  157. ErfD# (Nr#)
  158.    returns the error function for a number
  159.  
  160. ErfS! (Nr!)
  161.    returns the error function for a number
  162.  
  163. Evaluate (Expression$, Result!, ErrCode%)
  164.    returns the result of a numeric expression
  165.  
  166. eD#
  167.    returns the constant "e" (used in natural logarithms, etc)
  168.  
  169. eS!
  170.    returns the constant "e" (used in natural logarithms, etc)
  171.  
  172. FactD# (Nr%)
  173.    returns the factorial of a number
  174.  
  175. FactS! (Nr%)
  176.    returns the factorial of a number
  177.  
  178. Fahr2Cent! (Nr!)
  179.    converts from Fahrenheit to centigrade
  180.  
  181. FindFirstA (Archive$, Filename$, ErrCode%)
  182.    finds the first file matching a wildcard spec within an archive
  183.  
  184. FindNextA (ErrCode%)
  185.    continues to find files matching a wildcard spec within an archive
  186.  
  187. Floppies%
  188.    returns the number of floppy drives available
  189.  
  190. FloppyType (DriveA%, DriveB%)
  191.    returns the drive types of the first and second floppies, if any
  192.  
  193. G13Box (X1%, Y1%, X2%, Y2%, Fill%)
  194.    draws a box in 320x200 256-color VGA mode
  195.  
  196. G13Cls
  197.    clears the screen in 320x200 256-color VGA mode
  198.  
  199. G13Color (Fore%, Back%)
  200.    sets the default screen colors in 320x200 256-color VGA mode
  201.  
  202. G13Ellipse (CenterX%, CenterY%, XRadius%, YRadius%)
  203.    draws a circle or ellipse in 320x200 256-color VGA mode
  204.  
  205. G13GetColor (Fore%, Back%)
  206.    gets the default screen colors in 320x200 256-color VGA mode
  207.  
  208. G13GetLocate (Row%, Column%)
  209.    gets the cursor position in 320x200 256-color VGA mode
  210.  
  211. G13GetPel% (X%, Y%)
  212.    gets the color of a specified point in 320x200 256-color VGA mode
  213.  
  214. G13Line (X1%, Y1%, X2%, Y2%)
  215.    draws a line in 320x200 256-color VGA mode
  216.  
  217. G13Locate (Row%, Column%)
  218.    sets the cursor position in 320x200 256-color VGA mode
  219.  
  220. G13Mode (Graphics%)
  221.    switches between 320x200 256-color VGA mode and text mode
  222.  
  223. G13Plot (X%, Y%)
  224.    plots a point in 320x200 256-color VGA mode and text mode
  225.  
  226. G13Polygon (X%, Y%, Radius%, Vertices%, Angle!)
  227.    draws a regular polygon in 320x200 256-color VGA mode and text mode
  228.  
  229. G13WrCh (Ch%)
  230.    displays an ASCII character in 320x200 256-color VGA mode
  231.  
  232. G13Write (St$)
  233.    displays a string in 320x200 256-color VGA mode
  234.  
  235. G13WriteLn (St$)
  236.    displays a string with a <CR><LF> in 320x200 256-color VGA mode
  237.  
  238. GCDI% (Nr1%, Nr2%)
  239.    returns the greatest common denominator of two numbers
  240.  
  241. GCDL& (Nr1&, Nr2&)
  242.    returns the greatest common denominator of two numbers
  243.  
  244. Get4DOSv (MajorV%, MinorV%)
  245.    returns the version of 4DOS installed, if any
  246.  
  247. GetCRCA$
  248.    returns the CRC of an archived file
  249.  
  250. GetDateA$
  251.    returns the date of an archived file
  252.  
  253. GetDisplay (Adapter%, Mono%)
  254.    returns the display adapter and monitor type
  255.  
  256. GetDOSv (MajorV%, MinorV%)
  257.    returns the DOS version
  258.  
  259. GetEMSm (TotalPages%, FreePages%)
  260.    returns the amount of EMS memory (in pages of 16k bytes)
  261.  
  262. GetEMSv (MajorV%, MinorV%)
  263.    returns the version of the EMS driver installed
  264.  
  265. GetExtM&
  266.    returns the amount of BIOS extended memory available
  267.  
  268. GetNameA$
  269.    returns the name of a file in an archive
  270.  
  271. GetSizeA (OriginalSize&, CurrentSize&)
  272.    returns the sizes of a file in an archive
  273.  
  274. GetStoreA$
  275.    returns the storage method used on a file in an archive
  276.  
  277. GetTimeA$
  278.    returns the time of a file in an archive
  279.  
  280. GetXMSm (LargestFree&, TotalFree&)
  281.    returns the amount of XMS memory in kbytes
  282.  
  283. GetXMSv (MajorV%, MinorV%)
  284.    returns the version of the XMS driver
  285.  
  286. GN0Box (X1%, Y1%, X2%, Y2%, Fill%)
  287.    draws a box in 360x480 256-color VGA mode
  288.  
  289. GN0Cls
  290.    clears the screen in 360x480 256-color VGA mode
  291.  
  292. GN0Color (Fore%, Back%)
  293.    sets the default screen colors in 360x480 256-color VGA mode
  294.  
  295. GN0Ellipse (CenterX%, CenterY%, XRadius%, YRadius%)
  296.    draws a circle or ellipse in 360x480 256-color VGA mode
  297.  
  298. GN0GetColor (Fore%, Back%)
  299.    gets the default screen colors in 360x480 256-color VGA mode
  300.  
  301. GN0GetLocate (Row%, Column%)
  302.    gets the cursor position in 360x480 256-color VGA mode
  303.  
  304. GN0GetPel% (X%, Y%)
  305.    gets the color of a specified point in 360x480 256-color VGA mode
  306.  
  307. GN0Line (X1%, Y1%, X2%, Y2%)
  308.    draws a line in 360x480 256-color VGA mode
  309.  
  310. GN0Locate (Row%, Column%)
  311.    sets the cursor position in 360x480 256-color VGA mode
  312.  
  313. GN0Mode (Graphics%)
  314.    switches between 360x480 256-color VGA mode and text mode
  315.  
  316. GN0Plot (X%, Y%)
  317.    plots a point in 360x480 256-color VGA mode and text mode
  318.  
  319. GN0Polygon (X%, Y%, Radius%, Vertices%, Angle!)
  320.    draws a regular polygon in 360x480 256-color VGA mode and text mode
  321.  
  322. GN0WrCh (Ch%)
  323.    displays an ASCII character in 360x480 256-color VGA mode
  324.  
  325. GN0Write (St$)
  326.    displays a string in 360x480 256-color VGA mode
  327.  
  328. GN0WriteLn (St$)
  329.    displays a string with a <CR><LF> in 360x480 256-color VGA mode
  330.  
  331. GoodDate% (DateSt$)
  332.    determines whether a date is valid
  333.  
  334. InsertOn%
  335.    returns the state of the Insert key toggle
  336.  
  337. KbdType%
  338.    returns the keyboard type (nonzero if "enhanced" keyboard)
  339.  
  340. Kg2Pound! (Nr!)
  341.    converts kilograms to pounds
  342.  
  343. LAltPress%
  344.    returns whether the left ALT key is pressed (for "enhanced" keyboards)
  345.  
  346. LCtrlPress%
  347.    returns whether the left CTRL key is pressed (for "enhanced" keyboards)
  348.  
  349. LShiftPress%
  350.    returns whether the left SHIFT key is pressed
  351.  
  352. MatchFile% (Pattern$, Filename$)
  353.    determines whether a filename matches a wildcard filespec
  354.  
  355. MouseCursorG (CursorNr%)
  356.    selects a mouse graphics cursor
  357.  
  358. MouseHide
  359.    makes the mouse cursor invisible
  360.  
  361. MouseInit%
  362.    returns the number of mouse buttons (if any mouse) and initialize mouse
  363.  
  364. MouseLButton%
  365.    returns the state of the left mouse button
  366.  
  367. MouseLClick (Count%, X%, Y%)
  368.    for left mouse button, returns number of clicks & position at last click
  369.  
  370. MouseLocate (X%, Y%)
  371.    set the mouse cursor position
  372.  
  373. MouseLRelease (Count%, X%, Y%)
  374.    for left mouse button, returns number of releases & position at last click
  375.  
  376. MouseMButton%
  377.    returns the state of the middle mouse button (if any)
  378.  
  379. MouseMClick (Count%, X%, Y%)
  380.    for middle mouse button, returns number of clicks & position at last click
  381.  
  382. MouseMRelease (Count%, X%, Y%)
  383.    for middle mouse button, returns number of releases & position at last click
  384.  
  385. MouseRButton%
  386.    returns the state of the right mouse button
  387.  
  388. MouseRClick (Count%, X%, Y%)
  389.    for right mouse button, returns number of clicks & position at last click
  390.  
  391. MouseRRelease (Count%, X%, Y%)
  392.    for right mouse button, returns number of releases & position at last click
  393.  
  394. MouseShow
  395.    makes the mouse cursor visible
  396.  
  397. MouseWhereX%
  398.    returns the X position of the mouse cursor
  399.  
  400. MouseWhereY%
  401.    returns the Y position of the mouse cursor
  402.  
  403. MouseWindow (X1%, Y1%, X2%, Y2%)
  404.    restricts the range of the mouse cursor to the specified area
  405.  
  406. Num2Date$ (DateNr&)
  407.    converts a number to a date
  408.  
  409. NumOn%
  410.    returns the state of the NumLock key toggle
  411.  
  412. PCDate$
  413.    returns the date of the BIOS ROM
  414.  
  415. PCType%
  416.    returns the type of the computer based on the BIOS (PC, XT, AT, etc)
  417.  
  418. PiD#
  419.    returns the constant "pi"
  420.  
  421. PiS!
  422.    returns the constant "pi"
  423.  
  424. PopWindow (TRow%,LCol%,BRow%,RCol%,Frame%,Attr%,Grow%,Shade%,TFore%,Title$)
  425.    displays a pop-up window
  426.  
  427. Pound2Kg! (Nr!)
  428.    converts pounds to kilograms
  429.  
  430. PrintScreen
  431.    copies the screen to the printer
  432.  
  433. Processor%
  434.    returns the type of CPU installed
  435.  
  436. RAltPress%
  437.    returns the state of the right ALT key (for "enhanced" keyboards)
  438.  
  439. Rad2DegD# (Nr#)
  440.    converts from radians to degrees
  441.  
  442. Rad2DegS! (Nr!)
  443.    converts from radians to degrees
  444.  
  445. RCtrlPress%
  446.    returns the state of the right CTRL key (for "enhanced" keyboards)
  447.  
  448. ReColorArea (TopRow%, LefCol%, BottomRow%, RightCol%, Attr%)
  449.    changes a specified area of the screen to a specified color
  450.  
  451. Reverse (St$)
  452.    reverses the order of characters in a string
  453.  
  454. RInstr (St$, SubSt$, Posn%)
  455.    returns the position of the last occurrence of a substring within a string
  456.  
  457. RotateL% (Nr%, Count%)
  458.    rotate the bits in a number left
  459.  
  460. RotateLL& (Nr&, Count%)
  461.    rotate the bits in a number left
  462.  
  463. RotateR% (Nr%, Count%)
  464.    rotate the bits in a number right
  465.  
  466. RotateRL& (Nr&, Count%)
  467.    rotate the bits in a number right
  468.  
  469. RShiftPress%
  470.    returns the state of the right SHIFT key
  471.  
  472. ScanKey$
  473.    returns the key in the keyboard buffer without removing it
  474.  
  475. ScreenRest0 (Scr$, TRow%, LCol%, BRow%, RCol%)
  476.    [internal] restores a block of text to the screen
  477.  
  478. ScreenRestore (Scr$, TopRow%, LeftCol%)
  479.    restores a block of text to the screen
  480.  
  481. ScreenSave$ (TRow%, LCol%, BRow%, RCol%)
  482.    saves an area of the screen to a string
  483.  
  484. ScreenSave0 (Scr$, TRow%, LCol%, BRow%, RCol%)
  485.    [internal] saves an area of the screen to a string
  486.  
  487. ScrollDown (TRow%, LCol%, BRow%, RCol%, Times%, Attr%)
  488.    scrolls an area of the screen down or clears it
  489.  
  490. ScrollLeft (TRow%, LCol%, BRow%, RCol%, Times%, Attr%)
  491.    scrolls an area of the screen left or clears it
  492.  
  493. ScrollOn%
  494.    returns the state of the ScrollLock key toggle
  495.  
  496. ScrollRight (TRow%, LCol%, BRow%, RCol%, Times%, Attr%)
  497.    scrolls an area of the screen right or clears it
  498.  
  499. ScrollUp (TRow%, LCol%, BRow%, RCol%, Times%, Attr%)
  500.    scrolls an area of the screen up or clears it
  501.  
  502. SecD# (Nr#)
  503.    returns the secant of a number
  504.  
  505. SecS! (Nr!)
  506.    returns the secant of a number
  507.  
  508. SetCaps (TurnOn%)
  509.    sets the state of the CapsLock key toggle
  510.  
  511. SetEnhKbd (TurnOn%)
  512.    sets whether to use "enhanced" keyboard handling
  513.  
  514. SetInsert (TurnOn%)
  515.    sets the state of the Insert key toggle
  516.  
  517. SetNum (TurnOn%)
  518.    sets the state of the NumLock key toggle
  519.  
  520. SetPrtSc (TurnOn%)
  521.    sets whether the PrtSc key should work
  522.  
  523. SetScroll (TurnOn%)
  524.    sets the state of the ScrollLock key toggle
  525.  
  526. ShiftL% (Nr%, Count%)
  527.    shift the bits in a number left
  528.  
  529. ShiftLL& (Nr&, Count%)
  530.    shift the bits in a number left
  531.  
  532. ShiftPress%
  533.    returns the state of the shift keys
  534.  
  535. ShiftR% (Nr%, Count%)
  536.    shift the bits in a number right
  537.  
  538. ShiftRL& (Nr&, Count%)
  539.    shift the bits in a number right
  540.  
  541. SinHD# (Nr#)
  542.    returns the hyperbolic sine of a number
  543.  
  544. SinHS! (Nr!)
  545.    returns the hyperbolic sine of a number
  546.  
  547. SpeedKey (RepDelay%, RepRate%)
  548.    sets the keyboard speed for AT-type computers
  549.  
  550. TanHD# (Nr#)
  551.    returns the hyperbolic tangent of a number
  552.  
  553. TanHS! (Nr!)
  554.    returns the hyperbolic tangent of a number
  555.  
  556. TInstr (St$, Types%, Posn%)
  557.    returns the position of the first of a given type of characters in a string
  558.  
  559. TypeIn (St$)
  560.    enters a string as if you had typed it from the keyboard
  561.  
  562. UnCalcAttr (Attr%, Fore%, Back%)
  563.    converts a color/attribute into foreground and background colors
  564.  
  565. WeekDay$ (DateSt$)
  566.    returns the day of the week for a given date
  567.  
  568. WinCheck (MajorV%, MinorV%)
  569.    returns the version of Windows that is running (if any)
  570.  
  571. XMSclose (Handle%)
  572.    closes an area of XMS memory that was opened by XMSopen
  573.  
  574. XMSexists%
  575.    returns whether XMS memory exists
  576.  
  577. XMSlfree&
  578.    returns the size of the largest free block of XMS memory (kbytes)
  579.  
  580. XMSopen (KBytes&, Handle%, ErrCode%)
  581.    opens an area of XMS memory for access
  582.  
  583. XMSread (Handle%, Posn&, Bytes&, DSeg%, DOfs%)
  584.    gets information from XMS memory
  585.  
  586. XMSresize (Handle%, KBytes&, ErrCode%)
  587.    changes the size of an allocated area of XMS memory
  588.  
  589. XMStfree&
  590.    returns the total amount of XMS memory available (kbytes)
  591.  
  592. XMSver (MajorV%, MinorV%)
  593.    returns the version of the XMS driver installed, if any
  594.  
  595. XMSwrite (Handle%, Posn&, Bytes&, DSeg%, DOfs%)
  596.    stores information in XMS memory
  597.  
  598. XQPrint (St$, Row%, Column%, Attr%)
  599.    displays a string at very high speed
  600.