home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / oncmd.zip / ONCMD20.INF (.txt) < prev    next >
OS/2 Help File  |  1996-02-09  |  31KB  |  1,303 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Asynchronous Functions ΓòÉΓòÉΓòÉ
  3.  
  4. SETBAUDRATE                   sets baud rate 
  5.  
  6. GETBAUDRATE                   gets baud rate 
  7.  
  8. SETLINECTL                    control serial port 
  9.  
  10. GETLINECTL                    control serial port 
  11.  
  12. XMIT                          control serial port 
  13.  
  14. XMITIIM                       control serial port 
  15.  
  16. SETBRK                        control serial port 
  17.  
  18. MDMCTL                        control serial port 
  19.  
  20. SETDCB                        control serial port 
  21.  
  22. GETDCB                        control serial port 
  23.  
  24. GETCOMMERROR                  control serial port 
  25.  
  26. GETCOMMEVENT                  control serial port 
  27.  
  28. GETCOMMSTATUS                 control serial port 
  29.  
  30. GETLINESTATUS                 control serial port 
  31.  
  32. GETMDMINP                     control serial port 
  33.  
  34. GETMDMOUTP                    control serial port 
  35.  
  36. GETOUTQCNT                    control serial port 
  37.  
  38.  
  39. ΓòÉΓòÉΓòÉ 2. Clipper ΓòÉΓòÉΓòÉ
  40.  
  41. DBSTRUCT()                    Clipper functions for Clipper compatibility 
  42.  
  43. DBUNLOCK()                    Clipper functions for Clipper compatibility 
  44.  
  45. DBUNLOCKALL()                 Clipper functions for Clipper compatibility 
  46.  
  47. DBCLEARFILTER()               Clipper functions for Clipper compatibility 
  48.  
  49. DBCLEARINDEX()                Clipper functions for Clipper compatibility 
  50.  
  51. DBCLEARRELATION()             Clipper functions for Clipper compatibility 
  52.  
  53. DBCLOSEALL()                  Clipper functions for Clipper compatibility 
  54.  
  55. DBCLOSEAREA()                 Clipper functions for Clipper compatibility 
  56.  
  57. DBCOMMIT()                    Clipper functions for Clipper compatibility 
  58.  
  59. DBCOMMITALL()                 Clipper functions for Clipper compatibility 
  60.  
  61. DBDELETE()                    Clipper functions for Clipper compatibility 
  62.  
  63. DBFILTER()                    Clipper functions for Clipper compatibility 
  64.  
  65. DBGOTOP()                     Clipper functions for Clipper compatibility 
  66.  
  67. DBGOBOTTOM()                  Clipper functions for Clipper compatibility 
  68.  
  69. DBRECALL()                    Clipper functions for Clipper compatibility 
  70.  
  71. DBREINDEX()                   Clipper functions for Clipper compatibility 
  72.  
  73. DBGOTO()                      Clipper functions for Clipper compatibility 
  74.  
  75. DBSETFILTER()                 Clipper functions for Clipper compatibility 
  76.  
  77. DBSETINDEX()                  Clipper functions for Clipper compatibility 
  78.  
  79. DBSETORDER()                  Clipper functions for Clipper compatibility 
  80.  
  81. DBSKIP()                      Clipper functions for Clipper compatibility 
  82.  
  83. DBSELECTAREA( )               Clipper functions for Clipper compatibility 
  84.  
  85. DBRELATION()                  Clipper functions for Clipper compatibility 
  86.  
  87. DBAPPEND()                    Clipper functions for Clipper compatibility 
  88.  
  89. DBSEEK()                      Clipper functions for Clipper compatibility 
  90.  
  91. DBCREATEINDEX()               Clipper functions for Clipper compatibility 
  92.  
  93. DBSETRELATION()               Clipper functions for Clipper compatibility 
  94.  
  95. DBUSEAREA()                   Clipper functions for Clipper compatibility 
  96.  
  97. BIN2I()                       Clipper functions for casting numbers as strings 
  98.                               and visa versa. 
  99.  
  100. BIN2W()                       Clipper functions for casting numbers as strings 
  101.                               and visa versa. 
  102.  
  103. BIN2L()                       Clipper functions for casting numbers as strings 
  104.                               and visa versa. 
  105.  
  106. I2BIN()                       Clipper functions for casting numbers as strings 
  107.                               and visa versa. 
  108.  
  109. L2BIN()                       Clipper functions for casting numbers as strings 
  110.                               and visa versa. 
  111.  
  112.  
  113. ΓòÉΓòÉΓòÉ 3. Database and Field Related ΓòÉΓòÉΓòÉ
  114.  
  115. ACTIVATE BROWSE               Activates the specified, or last accessed browse 
  116.                               window 
  117.  
  118. ALIAS()                       alias for work area 
  119.  
  120. APPEND                        add records 
  121.  
  122. APPEND FROM ARRAY             adds contents of an array to a database 
  123.  
  124. AVERAGE                       average numeric database field 
  125.  
  126. BOF()                         beginning-of-file 
  127.  
  128. BOXBROWSE()                   browse database in a box 
  129.  
  130. BROWSE                        browse database in full screen 
  131.  
  132. BROWSE()                      browse database in a box 
  133.  
  134. BRSACTIVATE()                 Activates specified window except selected record 
  135.                               is returned 
  136.  
  137. BRSCOLUMN()                   Causes specified browse to position to specified 
  138.                               column 
  139.  
  140. BRSKEYINJECT()                Causes specified browse to react as if specified 
  141.                               key were pressed 
  142.  
  143. BRSRECORD()                   Causes browse to position to specified record and 
  144.                               refresh display 
  145.  
  146. BRSREFRESH()                  Causes specified browse to refresh its display 
  147.  
  148. CLOSE                         close specified types of files 
  149.  
  150. COPY FILE TO                  copy any type of file 
  151.  
  152. COPY STRUCTURE                duplicate file structure 
  153.  
  154. COPY TO                       copy database 
  155.  
  156. COPY TO ARRAY                 reate array to hold the maximum number of fields 
  157.                               for  record 
  158.  
  159. COUNT                         tally record count 
  160.  
  161. CREATE                        create a new database 
  162.  
  163. DBEVAL()                      evaluates given codeblock for specified database 
  164.  
  165. DBF()                         current database name 
  166.  
  167. DELETE                        mark records/file for deletion 
  168.  
  169. DELETED()                     test for deleted record 
  170.  
  171. DELETE FILE                   deletes a file 
  172.  
  173. DELETE TAG                    deletes automatic indices 
  174.  
  175. DISPLAY                       display record number/field data 
  176.  
  177. EOF()                         end-of-file 
  178.  
  179. FCOUNT()                      count of fields in current database 
  180.  
  181. FIELDNAME()                   name of field # 
  182.  
  183. FIND                          position pointer to first record 
  184.  
  185. FOUND()                       return success of last seek 
  186.  
  187. FLOCK()                       lock current file 
  188.  
  189. GOTO                          positions to specified record 
  190.  
  191. HEADER()                      size of current dbf header 
  192.  
  193. INDEX ON                      create index expression 
  194.  
  195. INDEXKEY()                    current index expression 
  196.  
  197. INDEXORD()                    active index order 
  198.  
  199. INSERT                        Insert blank record into database immediately 
  200.                               after current record 
  201.  
  202. LASTREC()                     last database record number 
  203.  
  204. LIST                          display contents of database 
  205.  
  206. LOCATE                        position to specified record 
  207.  
  208. LOCATE()                      Return LOCATE FOR expression for current or 
  209.                               specified work area 
  210.  
  211. LOCK()                        lock current record 
  212.  
  213. LUPDATE()                     date database last updated 
  214.  
  215. MAP2TEXT()                    convert bitmap to text 
  216.  
  217. MKMAP()                       bitmap sets of key ranges 
  218.  
  219. NDX()                         name of active index file 
  220.  
  221. PACK                          remove records marked for delete 
  222.  
  223. RECALL                        reinstates records flagged for deletion 
  224.  
  225. RECCOUNT()                    number of records in .dbf file 
  226.  
  227. RECIMAGE()                    record as a character string 
  228.  
  229. RECNO()                       current record number 
  230.  
  231. RECSIZE()                     size (in bytes) of record 
  232.  
  233. REINDEX                       rebuild existing index files 
  234.  
  235. REPLACE                       change contents of fields 
  236.  
  237. REPORT FORM                   report from .FRMfile 
  238.  
  239. RLOCK()                       same as LOCK 
  240.  
  241. SCAN                          Process records in the current workarea 
  242.  
  243. SEEK                          search for key value 
  244.  
  245. SEEK()                        search for a key value and return success 
  246.  
  247. SELECT                        switch to/define work area 
  248.  
  249. SELECT()                      work area selected 
  250.  
  251. SKIP                          advance/back-up pointer 
  252.  
  253. SORT                          sort records/output to new table 
  254.  
  255. SUFFIX()                      Set or query default file suffixes 
  256.  
  257. SUM                           sum of numeric expression 
  258.  
  259. TAG                           syntax for referring to a specific index by its 
  260.                               tag name 
  261.  
  262. TOTAL ON                      summarize groups of records 
  263.  
  264. UNLOCK                        remove record/file locks 
  265.  
  266. USE                           specifies database to be opened 
  267.  
  268. USED()                        test for an open database 
  269.  
  270. ZAP                           remove all records 
  271.  
  272.  
  273. ΓòÉΓòÉΓòÉ 4. Set Options - Database ΓòÉΓòÉΓòÉ
  274.  
  275. SET COMPRESS                  turn on/off key file compression 
  276.  
  277. SET DEFAULT TO                specify alternative path 
  278.  
  279. SET DELETED                   hide records marked for deletion 
  280.  
  281. SET CACHE TO                  write cache of specified number of records for 
  282.                               opened work area 
  283.  
  284. SET EXACT                     comparison of character strings 
  285.  
  286. SET EXCLUSIVE                 limit users of database 
  287.  
  288. SET FILTER                    filter database records 
  289.  
  290. SET INDEX TO                  activate index files 
  291.  
  292. SET INDEX MAP                 set record range using map file 
  293.  
  294. SET INDEX RANGE               set locked record range for active index 
  295.  
  296. SET LINK                      port applications from another O/S 
  297.  
  298. SET MEMOWIDTH                 define text default line length 
  299.  
  300. SET ORDER TO                  determines controlling index 
  301.  
  302. SET PATH TO                   specify default directory 
  303.  
  304. SET RELATION                  link two databases by key 
  305.  
  306. SET SOFTSEEK                  set return when SEEK match not found 
  307.  
  308. SET UNIQUE                    indicies will never be allowed to contain 
  309.                               duplicate key values 
  310. p. 
  311.  
  312.  
  313. ΓòÉΓòÉΓòÉ 5. Input/Output ΓòÉΓòÉΓòÉ
  314.  
  315. @                             display result on next line 
  316.  
  317. ??                            display result on same line 
  318.  
  319. @...BOX                       draw a box 
  320.  
  321. @...PROMPT                    create sliding lightbar menus 
  322.  
  323. @...SAY                       display text or bitmaps at row,column 
  324.  
  325. @...GET                       accept data at row,column 
  326.  
  327. @...GET...SIZE                input multi-line entry field 
  328.  
  329. @...GET  *                    push buttons 
  330.  
  331. @...GET  *3                   three-way check box 
  332.  
  333. @...GET  *C                   check box 
  334.  
  335. @...GET  *R                   radio buttons 
  336.  
  337. @...GET  CLIDER               circular slider 
  338.  
  339. @...GET  SLIDER               horizontal slider 
  340.  
  341. @...GET  SPINNER              spinner 
  342.  
  343. @...GET  &                    list box 
  344.  
  345. @...GET  ~                    combo box 
  346.  
  347. @...GET ^                     drop down combo box 
  348.  
  349. @...GET ]                     notebook 
  350.  
  351. @...TO                        erase screen and/or draw boxes 
  352.  
  353. ACCEPT ... TO                 prompt for input string 
  354.  
  355. BOX()                         draw a rectangular to elliptical region 
  356.  
  357. CHRSAW()                      test for characters in keyboard buffer 
  358.  
  359. CLEARGETS()                   clear specified get field 
  360.  
  361. CLPCLOSE()                    close clipboard 
  362.  
  363. CLPGET()                      gets contents of the clipboard 
  364.  
  365. CLPOPEN()                     open clipboard 
  366.  
  367. CLPPUT()                      store data in the clipboard 
  368.  
  369. CLPQUERYFMT()                 checks for data of a specified format in the 
  370.                               clipboard 
  371.  
  372. COL()                         cursor column 
  373.  
  374. EJECT                         send formfeed to printer 
  375.  
  376. GETBOX()                      get rectangular frame 
  377.  
  378. GETKEY()                      return keypress 
  379.  
  380. GETNUM()                      returns @...GET field number associated with a 
  381.                               symbol 
  382.  
  383. GETWINDOW()                   save screen window 
  384.  
  385. INKEY()                       return key press (timeout enabled) 
  386.  
  387. INPUT                         enters expression into memory 
  388.  
  389. KEYBOARD                      stuff characters into keyboard 
  390.  
  391. LINE()                        Connect a series of points with lines, or plot a 
  392.                               single point 
  393.  
  394. LISTADD()                     interactive add to list box 
  395.  
  396. LISTDEL()                     interactive delete to list box 
  397.  
  398. LISTQUERY()                   returns an array of strings associated with 
  399.                               contents of a list or list box 
  400.  
  401. MENU TO                       activate menu 
  402.  
  403. MOVEBOX()                     same as GETBOX() except sizing is not supported 
  404.  
  405. MSGBOX()                      display PM message box 
  406.  
  407. NBADDPG()                     adds a notebook page 
  408.  
  409. NBEND()                       End the READ of the current notebook from within 
  410.                               one of its pages 
  411.  
  412. NOTEBOOK()                    add notebook page 
  413.  
  414. ON CLOSE                      intercept closing of a window 
  415.  
  416. ON DROP                       invoke function when object dropped 
  417.  
  418. ON PAGE                       invoke page when notebook page selected 
  419.  
  420. ON SLIDE                      invoke function when SLIDER control changes value 
  421.  
  422. ON SPIN                       invoke function when SPINNER control changes 
  423.                               value 
  424.  
  425. PICKFILE()                    pick file control 
  426.  
  427. PICKFONT()                    pick font control 
  428.  
  429. POINTER()                     change the pointer icon 
  430.  
  431. POSGET()                      positions a GET object 
  432.  
  433. POSOBJ()                      positions a GET object 
  434.  
  435. PRINTER()                     printer query 
  436.  
  437. PROW()                        printer line number 
  438.  
  439. PUTWINDOW()                   put window saved by GETWINDOW 
  440.  
  441. READ                          initiates entry to GETs 
  442.  
  443. READKEY()                     keystroke used to exit last read 
  444.  
  445. RESTORE SCREEN                repaint screen 
  446.  
  447. RGBCOLOR()                    adjust screen colors 
  448.  
  449. ROW()                         cursor row 
  450.  
  451. SAVE SCREEN TO                saves screen window to variable 
  452.  
  453. SCROLL()                      scroll screen window 
  454.  
  455. SETGET()                      enable/disable GET field 
  456.  
  457. SETOBJ()                      enable/disable GET field 
  458.  
  459. SETPRC()                      set prow() and pcol() values 
  460.  
  461. SETWIN()                      set window size 
  462.  
  463. SHOWGETS()                    re-display oustanding GETS 
  464.  
  465. SYSTEM(7000)                  set system colors 
  466.  
  467. SYSTEM(7001)                  set title bar text 
  468.  
  469. SYSTEM(7003)                  available fonts 
  470.  
  471. SYSTEM(8000)                  allocated memory 
  472.  
  473. SYSTEM(8001)                  allocated memory after collection 
  474.  
  475. SYSTEM(8002)                  internal stack depth 
  476.  
  477. SYSTEM(8003)                  active window handle 
  478.  
  479. SYSTEM(8004)                  <Ctl> is down 
  480.  
  481. SYSTEM(8005)                  <Shift> is down 
  482.  
  483. SYSTEM(8006)                  <Alt> is down 
  484.  
  485. SYSTEM(8007)                  LASTGET info 
  486.  
  487. SYSTEM(9000)                  single step lines 
  488.  
  489. TONE()                        play a note on the speaker 
  490.  
  491. TYPE                          display contents of file to screen 
  492.  
  493. WINTITLE()                    set title on OnCmd application window 
  494.  
  495.  
  496. ΓòÉΓòÉΓòÉ 6. Set Options - Input/Output ΓòÉΓòÉΓòÉ
  497.  
  498.  
  499. SET()                         Returns the value(s) associated with specified 
  500.                               SET 
  501.  
  502. SET ALTERNATE TO              creates output file 
  503.  
  504. SET BORDERS                   display delimiters 
  505.  
  506. SET BREAK                     keyboard break exceptions 
  507.  
  508. SET CLOSE                     window close control 
  509.  
  510. SET COLOR TO                  assign screen colors 
  511.  
  512. SET CONFIRM                   exiting input fields 
  513.  
  514. SET CONSOLE                   send/suspend output to screen 
  515.  
  516. SET DELIMITERS                display delimiters 
  517.  
  518. SET DEVICE TO                 set output device 
  519.  
  520. SET DROP TO                   set pattern for accepting dropped objects 
  521.  
  522. SET FONT                      set default fonts 
  523.  
  524. SET FULLREAD                  exiting templates 
  525.  
  526. SET FUNCTION                  assign expression to function key 
  527.  
  528. SET GETS                      display cleared gets 
  529.  
  530. SET KEY TO                    specified key execution 
  531.  
  532. SET MARGIN TO                 determine left margin of printer 
  533.  
  534. SET MENU                      enable/disable mouse clicks on frame menu 
  535.  
  536. SET MESSAGE TO                sets screen display row 
  537.  
  538. SET SAY TO                    direct output to other than the active window 
  539.  
  540. SET SCOREBOARD                activate title bar at bottom of screen 
  541.  
  542.  
  543. ΓòÉΓòÉΓòÉ 7. Low Level File Operations ΓòÉΓòÉΓòÉ
  544.  
  545. DISKSPACE()                   free space on disk 
  546.  
  547. ERASE                         remove file from system 
  548.  
  549. FCHSIZE()                     grow or shrink a file 
  550.  
  551. FCLOSE()                      close flat file 
  552.  
  553. FCOMPRESS()                   compress file 
  554.  
  555. FCREATE()                     make new flat file 
  556.  
  557. FCRYPT()                      encrypt file 
  558.  
  559. FDECOMPRESS()                 decompress file 
  560.  
  561. FDECRYPT()                    decrypt file 
  562.  
  563. FEOF()                        test end of file 
  564.  
  565. FERROR()                      File Error Status 
  566.  
  567. FILE()                        test file existence 
  568.  
  569. FOPEN()                       open flat file 
  570.  
  571. FREAD()                       read flat file (into memvar) 
  572.  
  573. FREADSTR()                    read flat file 
  574.  
  575. FSEEK()                       position file pointer 
  576.  
  577. FWRITE()                      write to flat file 
  578.  
  579. RENAME                        assign new name to file 
  580.  
  581.  
  582. ΓòÉΓòÉΓòÉ 8. Multi-Media ΓòÉΓòÉΓòÉ
  583.  
  584. MCI()                         media control interface 
  585.  
  586. PLAY()                        play a sound or video file 
  587.  
  588. RECORD()                      create a wave file 
  589.  
  590.  
  591. ΓòÉΓòÉΓòÉ 9. Network ΓòÉΓòÉΓòÉ
  592.  
  593. NODE()                        returns local machine name 
  594.  
  595. USER()                        returns local user name 
  596.  
  597. DOMAIN()                      returns domain name 
  598.  
  599. GROUP()                       returns lan group name 
  600.  
  601.  
  602. ΓòÉΓòÉΓòÉ 10. Pen ΓòÉΓòÉΓòÉ
  603.  
  604. @...GET ?                     OS/2 pen handwriting recognition 
  605.  
  606. @...KEYBOARD                  OS/2 Virtual keyboard 
  607.  
  608. SKETCH()                      capture pen and mouse sketches 
  609.  
  610.  
  611. ΓòÉΓòÉΓòÉ 11. Programming - General ΓòÉΓòÉΓòÉ
  612.  
  613. #DEFINE                       define constants for compiler substitution 
  614.  
  615. #INCLUDE                      include <file> for compiler 
  616.  
  617. _ARG                          array to access command line arguments 
  618.  
  619. &                             macros (run-time expressions/functions) 
  620.  
  621. AEVAL()                       evaluates given codeblock for specified elements 
  622.                               of the array 
  623.  
  624. AND()                         boolean AND function for testing bits 
  625.  
  626. BLOCK                         a codeblock which may be passed to EVAL(), AEVAL, 
  627.                               or DBEVAL() built-in functions 
  628.  
  629. CANCEL                        return to the operating system 
  630.  
  631. CLEAR                         clear the CRT screen 
  632.  
  633. CLEAR ALL                     close all files, indexes, relations 
  634.  
  635. CLEAR GETS                    deactivate input fields 
  636.  
  637. CLEAR MEMORY                  clear memory variables 
  638.  
  639. CLEAR MENU                    end popup or PROMPT menu 
  640.  
  641. CLEAR READ                    end READ 
  642.  
  643. CLEARTMR()                    remove specified timer(s) 
  644.  
  645. CLEAR TYPEAHEAD               empty keyboard input buffer 
  646.  
  647. CONTINUE                      skip to next record 
  648.  
  649. CURDIR()                      current directory path 
  650.  
  651. DEVCTL()                      device control function 
  652.  
  653. DLL()                         call 'C' functions 
  654.  
  655. DLLMOD()                      call a DLL function 
  656.  
  657. DO                            execute a program 
  658.  
  659. DO CASE                       execute one of several paths 
  660.  
  661. DO WHILE                      allows a structured loop 
  662.  
  663. EMPTY()                       test for empty or 'nil' expression 
  664.  
  665. END                           same as ENDDO, ENDIF, ENDSCAN, ENDCASE 
  666.  
  667. ENDFOR                        specify start of FOR/NEXT 
  668.  
  669. ENDREAD                       same as CLEAR READ 
  670.  
  671. ERROR()                       runtime error number 
  672.  
  673. EVAL()                        evaluating codeblocks 
  674.  
  675. EXIT                          escape loops 
  676.  
  677. FOR                           specify start of FOR/NEXT 
  678.  
  679. FULLPATH()                    Returns full path for filename, or directory if 
  680.                               no filename specified 
  681.  
  682. FUNCTION                      declare start of  function 
  683.  
  684. GATHER                        store data into array or variable 
  685.  
  686. GETENV()                      get environment variable 
  687.  
  688. IF                            conditional execution of program commands 
  689.  
  690. IIF()                         shortcut for IF 
  691.  
  692. ISALPHA()                     test for letter 
  693.  
  694. ISCOLOR()                     test for color monitor 
  695.  
  696. ISCONSOLE()                   test for console (else terminal) 
  697.  
  698. ISDIGIT()                     test for '0' - '9' 
  699.  
  700. ISLOWER()                     test for lower case 
  701.  
  702. ISPRINTER()                   test existence of printer 
  703.  
  704. ISUPPER()                     test for upper case 
  705.  
  706. KEYPRINT()                    index representation of numerics 
  707.  
  708. LASTFIELD()                   number of last input field 
  709.  
  710. LASTKEY()                     keystroke used to exit a read 
  711.  
  712. LOCAL                         variable scopes similarly to 'C' automatic 
  713.                               (stack) variables 
  714.  
  715. LOOP                          jump to end of FOR or DO loop 
  716.  
  717. MEMVAR                        keyword to tell the compiler which symbols are 
  718.                               memory variables 
  719.  
  720. MESSAGE()                     last runtime error message 
  721.  
  722. NOTE/*/&&                     insert non-executing comments 
  723.  
  724. OD                            interactive source level debugger 
  725.  
  726. ON BREAK                      invoke function on <Ctrl><Break> 
  727.  
  728. ON CLICK                      trap mouse clicks 
  729.  
  730. ON ERROR                      invoke function on error 
  731.  
  732. ON ESCAPE                     invoke function on <ESC> 
  733.  
  734. ON FOCUS                      trap screen activation and deactivation 
  735.  
  736. OR()                          boolean OR function for testing bits 
  737.  
  738. OS()                          operating system 
  739.  
  740. OTYPE()                       data type 
  741.  
  742. PARAMETERS                    declare parameters 
  743.  
  744. PCOL()                        printer column position 
  745.  
  746. PRIORITY()                    change priority of OnCmd application 
  747.  
  748. PRIVATE                       protect memory variables 
  749.  
  750. PROCEDURE                     define start of procedure 
  751.  
  752. PROCLINE()                    procedure line 
  753.  
  754. PROCNAME()                    procedure name 
  755.  
  756. PUBLIC                        make procedure or memory variable known 
  757.  
  758. PUTENV()                      modify environment variables 
  759.  
  760. QUIT                          close all files and exit 
  761.  
  762. RELEASE                       clear memory variables 
  763.  
  764. RESTORE FROM                  retrieve saved memory variables 
  765.  
  766. RETURN                        ends a program 
  767.  
  768. RUN (or !)                    execute other programs 
  769.  
  770. SAVE TO                       save memory variables 
  771.  
  772. SCATTER                       copy data to array or variable 
  773.  
  774. SETMENU()                     set attributes for selected frame menu items 
  775.  
  776. STATIC                        scope of current function that only module which 
  777.                               declared can access 
  778.  
  779. STORE                         assign expression values 
  780.  
  781. SYSTEM(8008)                  query process id of most recently RUN command 
  782.  
  783. SYSTEM(8009)                  kill process that was RUN with /W flag 
  784.  
  785. SYSTEM(8500)                  OnCmd licence number 
  786.  
  787. SYSTEM(8501)                  product owner company 
  788.  
  789. SYSTEM(8502)                  product owner name 
  790.  
  791. SYSTEM(8600)                  no interrupts allowed 
  792.  
  793. SYSTEM(8601)                  interrupts allowed 
  794.  
  795. SYSTEM(8602)                  no nesting of interrupts allowed 
  796.  
  797. SYSTEM(8603)                  nesting of interrupts allowed 
  798.  
  799. TMPNAM()                      Returns a unique filename each invocation 
  800.  
  801. TRANSFORM()                   convert C or N or BITMAP using PICTURE 
  802.  
  803. TYPE()                        data type of this object 
  804.  
  805. VERSION()                     OnCmd version number 
  806.  
  807. WAIT                          supend program till keypress 
  808.  
  809. WAITEVENT()                   mainline blocking mechanism 
  810.  
  811. WHILE                         allows a structured loop 
  812.  
  813.  
  814. ΓòÉΓòÉΓòÉ 12. Set Options - Programming ΓòÉΓòÉΓòÉ
  815.  
  816. SET CENTURY                   display dates with century included 
  817.  
  818. SET CODEPAGE TO               set code page to new value 
  819.  
  820. SET DATE                      define date formats 
  821.  
  822. SET DEBUG                     Enables and disables the "Debug" option on the 
  823.                               System menu 
  824.  
  825. SET DECIMALS TO               assign number of decimals 
  826.  
  827. SET FIXED                     decimal accuracy 
  828.  
  829. SET PRINT                     send/suspend output to printer 
  830.  
  831. SET PRINT TO                  set printed output destination 
  832.  
  833. SET PRINTER TO                support for graphics printing 
  834.  
  835. SET PROCEDURE TO              opens procedure file 
  836.  
  837. SET SCOREBOARD                display bottom status line 
  838.  
  839. SET WRAP                      wrap or exit from lightbar menus 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 13. Programming - Inter Process Communication ΓòÉΓòÉΓòÉ
  843.  
  844. DDECLIENT()                   become OnCmd DDE client 
  845.  
  846. DDEPOST()                     post message to DDE partner 
  847.  
  848. DDESERVER()                   become OnCmd DDE server 
  849.  
  850. NAME_ATTACH()                 associate a name with a task 
  851.  
  852. NAMEATTACH()                  associate a name with a task 
  853.  
  854. NAME_DETACH()                 disconnect a name from a task 
  855.  
  856. NAMEDETACH()                  disconnect a name from a task 
  857.  
  858. NAME_LOCATE()                 locate a task based on a name 
  859.  
  860. NAMELOCATE()                  locate a task based on a name 
  861.  
  862. RECEIVE()                     accept a message from another task 
  863.  
  864. REPLY()                       send a reply message to a task 
  865.  
  866. RESOURCE()                    allow OnCmd application programs containing OS/2 
  867.                               resources to access those resources 
  868.  
  869. SEND()                        send a message to another task 
  870.  
  871. TMR()                         time activated subroutines 
  872.  
  873. VFORMAT()                     format binary data 
  874.  
  875. VSCAN()                       scan binary data into variables 
  876.  
  877. XEVENT()                      external event handling 
  878.  
  879.  
  880. ΓòÉΓòÉΓòÉ 14. Rexx ΓòÉΓòÉΓòÉ
  881.  
  882. REXXMOD()                     instead of DLLMOD() for Rexx 
  883.  
  884. REXX()                        instead of DLL() for Rexx 
  885.  
  886. RXINTERPRET()                 Rexx script contained in a C type variable 
  887.  
  888. RXTOKENIZE()                  Returns pre-interpreted Rexx code 
  889.  
  890.  
  891. ΓòÉΓòÉΓòÉ 15. SOM ΓòÉΓòÉΓòÉ
  892.  
  893. SOM()                         longer calls SOM method function. 
  894.  
  895. SOMMOD()                      This object should be freed  using SOMFREE() once 
  896.                               it is no needed 
  897.  
  898. SOMSTOI()                     Convert a character string to a somId for use in 
  899.                               SOM calls. 
  900.  
  901. SOMCLASS()                    Create a SOM class for use in SOM calls. 
  902.  
  903. SOMUNREGC()                   Free all resources associated with a SOM class 
  904.  
  905. SOMNEW()                      Create a new instance of a som class object for 
  906.                               use with SOM() calls. 
  907.  
  908. SOMFREE()                     Free object once it is no longer needed 
  909.  
  910.  
  911. ΓòÉΓòÉΓòÉ 16. TCP/IP ΓòÉΓòÉΓòÉ
  912.  
  913. TCPACCEPT()                             accepts a connection request from a 
  914.                                         remote host 
  915.  
  916. TCPBIND()                               assigns a local address to the socket 
  917.  
  918. TCPCONNECT()                            requests a connection to a remote host 
  919.  
  920. TCPENDENT()                             closes the HOSTS, NETWORKS, PROTOCOL, 
  921.                                         or SERVICES file 
  922.  
  923. TCPGETENT()                             returns information from the HOSTS, 
  924.                                         NETWORKS, PROTOCOL, or SERVCES file 
  925.  
  926. TCPGETHOSTBYADDR()                      returns information about a host 
  927.                                         specified by an internet address 
  928.  
  929. TCPGETHOSTBYNAME()                      returns information about a host 
  930.                                         specified by a host name 
  931.  
  932. TCPGETHOSTID()                          returns the unique identifier of the 
  933.                                         current host 
  934.  
  935. TCPGETHOSTNAME()                        returns the standard host name for the 
  936.                                         local host machine 
  937.  
  938. TCPGETNETBYADDR()                       returns the NETWORKS file entry that 
  939.                                         contains the specified address 
  940.  
  941. TCPGETNETBYNAME()                       returns the NETWORKS file entry that 
  942.                                         contains the specified name 
  943.  
  944. TCPGETPEERNAME()                        returns the address and port of the 
  945.                                         peer connected to a socket 
  946.  
  947. TCPGETPROTOBYNAME()                     returns a protocol entry specified by 
  948.                                         name 
  949.  
  950. TCPGETPROTOBYNUMBER()                   returns a protocol entry specified by 
  951.                                         number 
  952.  
  953. TCPGETSERVBYNAME()                      returns a service entry specified by 
  954.                                         name 
  955.  
  956. TCPGETSERVBYPORT()                      returns a service entry specified by 
  957.                                         port number 
  958.  
  959. TCPGETSOCKNAME()                        gets the local address and port of a 
  960.                                         socket 
  961.  
  962. TCPGETSOCKOPT()                         gets socket options associated with a 
  963.                                         socket 
  964.  
  965. TCPHTON()                               translates byte order from host to 
  966.                                         network for a short or long integer 
  967.  
  968. TCPINETADDR()                           constructs an internet host or network 
  969.                                         address from character strings 
  970.                                         representing numbers expressed in 
  971.                                         standard dotted-decimal notation 
  972.  
  973. TCPINETMAKEADDR()                       constructs an internet address from a 
  974.                                         network number and a local address 
  975.  
  976. TCPINETNET()                            returns the network (or local network) 
  977.                                         number portion of the internet host 
  978.                                         address 
  979.  
  980. TCPINETNTOA()                           returns a pointer to a string in 
  981.                                         dotted-decimal notation 
  982.  
  983. TCPIOCTL()                              performs special operations on a socket 
  984.  
  985. TCPLISTEN()                             completes the binding necessary for a 
  986.                                         socket and creates a connection request 
  987.                                         queue for incoming requests 
  988.  
  989. TCPNTOH()                               translates byte order from network to 
  990.                                         host for a short or long integer 
  991.  
  992. TCPREADV()                              reads data on a socket and stores it in 
  993.                                         a set of specified buffers 
  994.  
  995. TCPRECV()                               receives messages on a connected socket 
  996.  
  997. TCPRECVFROM()                           receives messages on a datagram socket, 
  998.                                         regardless of its connection status 
  999.  
  1000. TCPRECVMSG()                            receives messages on a socket and 
  1001.                                         stores them in a msghd structure 
  1002.  
  1003. TCPRESINIT()                            reads TCPIP\ETC\RESOLV file for default 
  1004.                                         domain name 
  1005.  
  1006. TCPREXEC()                              executes a command on a remote machine 
  1007.  
  1008. TCPSELECT()                             monitors read, write, and exception 
  1009.                                         status on a group of sockets 
  1010.  
  1011. TCPSEND()                               sends packets on a connected socket 
  1012.  
  1013. TCPSENDMSG()                            sends a msghdr structureon a specified 
  1014.                                         socket 
  1015.  
  1016. TCPSENDTO()                             sends packets on a datagram socket, 
  1017.                                         regardless of its connection status 
  1018.  
  1019. TCPSETENT()                             opens and rewinds the HOSTS, NETWORKS, 
  1020.                                         PROTOCOL, or SERVICES file 
  1021.  
  1022. TCPSETSOCKOPT()                         sets options associated with a socket 
  1023.  
  1024. TCPSHUTDOWN()                           shuts down all or part of a duplex 
  1025.                                         connection 
  1026.  
  1027. TCPSOCKERRNO()                          returns the error code set by a socket 
  1028.                                         call 
  1029.  
  1030. TCPSOCKINIT()                           initializes the socket data structures 
  1031.                                         and checks whether INET.SYS is running 
  1032.  
  1033. TCPSOCKET()                             creates an endpoint for communication 
  1034.                                         and returns a socket descriptor 
  1035.                                         representing the endpoint 
  1036.  
  1037. TCPSOCLOSE()                            shuts down a socket and frees resources 
  1038.                                         allocated to that socket 
  1039.  
  1040. TCPSWAP()                               swaps bytes in a short integer or a 
  1041.                                         long integer 
  1042.  
  1043. TCPWRITEV()                             writes data on a socket with descriptor 
  1044.                                         s 
  1045.  
  1046.  
  1047. ΓòÉΓòÉΓòÉ 17. Text Manipulation ΓòÉΓòÉΓòÉ
  1048.  
  1049. COMPRESS()                    compress data string 
  1050.  
  1051. CRYPT()                       encrypt character string 
  1052.  
  1053. DECOMPRESS()                  decompress data string 
  1054.  
  1055. DECRYPT()                     decrypt character string 
  1056.  
  1057. EDITTEXT()                    editor in a box 
  1058.  
  1059. EVAL()                        embedded expression substitution 
  1060.  
  1061. MEMOLINE()                    extract lines of text 
  1062.  
  1063. MEMOREAD()                    read text file into string 
  1064.  
  1065. MEMOWRIT()                    write text file 
  1066.  
  1067. MLCOUNT()                     count lines of text 
  1068.  
  1069. OCCURS()                      count occurances of string in text 
  1070.  
  1071. RATCLINE()                    case insensitive text search from bottom 
  1072.  
  1073. RATLINE()                     text search from bottom 
  1074.  
  1075. SOUNDEX()                     convert text string to soundex value 
  1076.  
  1077. TEXT                          display/substitute  text (form letters) 
  1078.  
  1079.  
  1080. ΓòÉΓòÉΓòÉ 18. Variables - Arrays ΓòÉΓòÉΓòÉ
  1081.  
  1082. ACHOICE()                     select a string from an array 
  1083.  
  1084. ACLONE()                      Create an exact copy of an array and all its 
  1085.                               sub-arrays 
  1086.  
  1087. ACOPY()                       copy array elements 
  1088.  
  1089. ADEL()                        remove an element from an array 
  1090.  
  1091. ADIR()                        return directory information 
  1092.  
  1093. AFIELDS()                     load an array with db field info 
  1094.  
  1095. AFILL()                       initialize an array 
  1096.  
  1097. AINS()                        add an element into an array 
  1098.  
  1099. ASCAN()                       search arrays 
  1100.  
  1101. ASORT()                       sort an array 
  1102.  
  1103. ATAIL()                       Returns the highest element of an array 
  1104.  
  1105. DECLARE                       define array memory variable 
  1106.  
  1107. MKARRAY()                     declare and initialize an array 
  1108.  
  1109. STRBK()                       break a string into an array 
  1110.  
  1111. STRMK()                       build a string from an array 
  1112.  
  1113.  
  1114. ΓòÉΓòÉΓòÉ 19. Variables - Character ΓòÉΓòÉΓòÉ
  1115.  
  1116. ALLTRIM()                     remove leading/trailing blanks 
  1117.  
  1118. ASC()                         character to ASCII code 
  1119.  
  1120. AT()                          position of Nth occurance of substring 
  1121.  
  1122. ATC()                         case insensitive AT() 
  1123.  
  1124. ATLINE()                      line search in text 
  1125.  
  1126. ATCLINE()                     case insensitive ATLINE() 
  1127.  
  1128. BETWEEN()                     range test 
  1129.  
  1130. CHR()                         ASCII code to character 
  1131.  
  1132. CHRTRAN()                     character translations 
  1133.  
  1134. INLIST()                      compare with list 
  1135.  
  1136. LEFT()                        extract left portion of string 
  1137.  
  1138. LEN()                         length of string 
  1139.  
  1140. LIKE()                        file pattern comparison 
  1141.  
  1142. LOWER()                       convert to lower case 
  1143.  
  1144. LTRIM()                       strip leading spaces 
  1145.  
  1146. MEMOLINE()                    return specified text line 
  1147.  
  1148. MLCOUNT()                     count lines of text 
  1149.  
  1150. PADC()                        pad with centering 
  1151.  
  1152. PADL()                        pad from left (right justify) 
  1153.  
  1154. PADR()                        pad on right (left justify) 
  1155.  
  1156. P1OPER()                      format proper name 
  1157.  
  1158. RAT()                         string search from left 
  1159.  
  1160. RATC()                        case insensitive RAT() 
  1161.  
  1162. REPLICATE()                   repeat character(s) n times 
  1163.  
  1164. RIGHT()                       extract right characters of string 
  1165.  
  1166. RTRIM()                       strip trailing spaces 
  1167.  
  1168. STRTRAN()                     string translations 
  1169.  
  1170. SPACES()                      create blank character string 
  1171.  
  1172. STRCAT()                      add strings together 
  1173.  
  1174. STUFF()                       replace characters in a string 
  1175.  
  1176. SUBSTR()                      substring 
  1177.  
  1178. TRIM()                        strip trailing spaces 
  1179.  
  1180. UPPER()                       convert to upper case 
  1181.  
  1182. VAL()                         character to numeric 
  1183.  
  1184.  
  1185. ΓòÉΓòÉΓòÉ 20. Variables - Numeric ΓòÉΓòÉΓòÉ
  1186.  
  1187. ABS()                         absolute value 
  1188.  
  1189. CBRT()                        cube root 
  1190.  
  1191. CEIL()                        nearest higher integer 
  1192.  
  1193. CFORMAT()                     Identical to 'C' SPRINTF() function 
  1194.  
  1195. EXP()                         exponential e to the n 
  1196.  
  1197. EXP2()                        exponential 2 to the n 
  1198.  
  1199. EXP10()                       exponential 10 to the n 
  1200.  
  1201. FLOAT()                       convert any numeric to float class 
  1202.  
  1203. FLOOR()                       nearest lower integer 
  1204.  
  1205. INT()                         integer conversion (truncate decimals) 
  1206.  
  1207. LOG()                         natural logarithm 
  1208.  
  1209. LOG2()                        base 2 logarithm 
  1210.  
  1211. LOG10()                       base 10 logarithm 
  1212.  
  1213. MAX()                         greatest of list of values 
  1214.  
  1215. MIN()                         lowest of list of values 
  1216.  
  1217. MOD()                         modulus (remainder) 
  1218.  
  1219. RAND()                        random numbers 
  1220.  
  1221. ROUND()                       round a value 
  1222.  
  1223. SQRT()                        square root 
  1224.  
  1225. STR()                         numeric to character string 
  1226.  
  1227. TRIGONOMETRY                  determine trigonometric values 
  1228.  
  1229.  
  1230. ΓòÉΓòÉΓòÉ 21. Variables - Time & Date ΓòÉΓòÉΓòÉ
  1231.  
  1232. CDOW()                        character day of week 
  1233.  
  1234. CMONTH()                      character month 
  1235.  
  1236. CTOD()                        character to date 
  1237.  
  1238. CTOT()                        character to time 
  1239.  
  1240. DATE()                        system date 
  1241.  
  1242. DAY()                         day of month 
  1243.  
  1244. DOW()                         day of week 
  1245.  
  1246. DTOC()                        date to character 
  1247.  
  1248. DTOS()                        date to literal string 
  1249.  
  1250. GOMONTH()                     add or subtract months from date 
  1251.  
  1252. MONTH()                       month of the year 
  1253.  
  1254. SECONDS                       seconds since midnight 
  1255.  
  1256. TIME()                        system time 
  1257.  
  1258. TTOC()                        seconds since midnight into char. string 
  1259.  
  1260. YEAR()                        from date 
  1261.  
  1262.  
  1263. ΓòÉΓòÉΓòÉ 22. Voice Recognition ΓòÉΓòÉΓòÉ
  1264.  
  1265. VCEERRMSG()                   voice recognition error message 
  1266.  
  1267. VCEGETCXT()                   load voice recognition context file 
  1268.  
  1269. VCEINIT()                     voice recoginition initialization 
  1270.  
  1271. VCELISTEN()                   initiate voice recognition listen state 
  1272.  
  1273. VCEREMCTX()                   remove voice recognition context file 
  1274.  
  1275. VCETERM()                     terminate voice recognition conversation 
  1276.  
  1277. VCEWORDS()                    return voice recognition words 
  1278.  
  1279.  
  1280. ΓòÉΓòÉΓòÉ 23. Windowing ΓòÉΓòÉΓòÉ
  1281.  
  1282. ACTIVATE WINDOW               to display and activate a window 
  1283.  
  1284. CLOSEWIN()                    remove (destroy) a window 
  1285.  
  1286. DEFINE WINDOW                 define and create windows 
  1287.  
  1288. ON SIZE                       Calls the specified User-Defined-Function when 
  1289.                               window is resized 
  1290.  
  1291. OPENWIN()                     create new window 
  1292.  
  1293. RELEASEWIN()                  deactivate window 
  1294.  
  1295. RELEASE WINDOW                deactivate window 
  1296.  
  1297. SELECTWIN()                   activate window 
  1298.  
  1299. SETWIN()                      change window size and position 
  1300.  
  1301. SHOWWIN()                     display window 
  1302.