home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / dos / tools / aurora21 / quickfun.dox < prev    next >
Text File  |  1995-08-10  |  40KB  |  928 lines

  1.  
  2.  
  3.   AML Function Quick Reference
  4.   ────────────────────────────
  5.   This Quick Reference lists all AML statements and functions and by
  6.   category, including builtin (A.EXE), library (LIB.X), and extension
  7.   (EXT.AML) functions.
  8.  
  9.   To use the Quick Reference within a macro: move the cursor to a
  10.   function name or statement keyword and press <shift f1>. This Quick
  11.   Reference can be used in any text file, including the Language
  12.   Reference (LANGUAGE.DOX), and the Function Reference (FUNCTION.DOX).
  13.  
  14.   To transfer to the full AML Function Reference: move the cursor to a
  15.   function name or statement keyword in this Quick Reference and press
  16.   <shift f2>. Note that most extension functions are not documented in
  17.   the Function Reference.
  18.  
  19.   ──────────────────────────────────────────────────────────────────────
  20.   Copyright (C) 1995 by nuText Systems.  All rights reserved worldwide.
  21.   No parts of this document may be copied in part or in whole, except as
  22.   provided in the License in the accompanying documentation.
  23.   ──────────────────────────────────────────────────────────────────────
  24.  
  25.  
  26.   Language Statements
  27.   ───────────────────
  28.  
  29.   statements:
  30.     break                      // exit loops
  31.     case when otherwise / end  // complex conditional statement
  32.     databuf / end              // define or add to a data buffer
  33.     define / end               // define compile-time constants/functions
  34.     forward                    // declare a function symbol
  35.     function / end             // define a function
  36.     if elseif else / end       // conditional statement
  37.     if?                        // short conditional statement
  38.     include                    // include a macro source file
  39.     key / end                  // define a key function
  40.     keyword                    // define syntax highlighting keywords
  41.     loop / end                 // unconditional loop
  42.     menu item / end            // define a pull-down or popup menu
  43.     menubar item / end         // define a menu bar for a window
  44.     object                     // create object / change current object
  45.     ref                        // pass a variable by reference
  46.     repeat / until             // repeat-until conditional loop
  47.     return                     // return from a function or macro
  48.     set                        // object variable assignment
  49.     setobj                     // object variable remote assignment
  50.     setx                       // object variable expression assignment
  51.     setxfun                    // function expression remote assignment
  52.     setxobj                    // object variable expr remote assignment
  53.     var                        // declare a local or global variable
  54.     while do / end             // while conditional loop
  55.  
  56.  
  57.   Objects:
  58.   ───────
  59.  
  60.   statements:
  61.     object         // create an object or change the current object
  62.  
  63.   builtin functions:
  64.     destroyobject  // destroy an object
  65.     eventobject    // change the current event object
  66.     function?      // test for the existence of a function
  67.     getcurrobj     // get the current (executing) object
  68.     geteventobj    // get the current event object
  69.     inheritfrom    // change the inheritance path of the current object
  70.     inheritkeys    // enable/disable key inheritance
  71.     lookup         // get the value of an object variable
  72.     object?        // test for the existence of an object
  73.     objtype?       // test object inheritance hierarchy
  74.     saveobject     // save an object to a file
  75.     unsetx         // destroy an object variable
  76.  
  77.  
  78.   Event Handling:
  79.   ──────────────
  80.  
  81.   builtin functions:
  82.     call           // dispatch an event in the current object
  83.     dispatch       // wait for and dispatch the next event
  84.     endprocess     // return from a recursive invocation of the editor
  85.     event?         // test if one or more events are in the event queue
  86.     eventobject    // change the current event object
  87.     getcurrobj     // get the current (executing) object
  88.     geteventcount  // get the number of real events
  89.     geteventobj    // get the current event object
  90.     pass           // call the current function in a parent object
  91.     passprev       // call the current function in a preempted object
  92.     process        // invoke the editor recursively
  93.     purgequeue     // remove all events from the event queue
  94.     queue          // add an event to the event queue
  95.     queueobject    // queue an event to a specific object
  96.     send           // dispatch an event in the current event object
  97.     sendobject     // dispatch an event to a specified object
  98.     sizequeue      // change the event queue size
  99.  
  100.  
  101.   Macro Compilation and Execution:
  102.   ───────────────────────────────
  103.  
  104.   builtin functions:
  105.     compilemacro   // compile a macro source file
  106.     eval           // evaluate a string as macro source code
  107.     geterror       // returns error information
  108.     includemacro   // load and execute a compiled macro file
  109.     runmacro       // load, execute, and discard a compiled macro
  110.     stayresident   // force an executable macro to remain resident
  111.  
  112.   extension functions:
  113.     askcmacro      // prompt to compile a macro source file
  114.     askeval        // prompt to evaluate a macro expression
  115.     askrmacro      // prompt to run a compiled macro file
  116.     compilemacro2  // compile a macro source file (with messages)
  117.     recompile      // recompile the editor
  118.     runcfg         // run a macro in the CFG subdirectory (w/prefix CFG)
  119.     runmac         // run a macro in the MACRO subdirectory
  120.     runmacro2      // load, execute, and discard a compiled macro
  121.     savecfg        // save current config variables and recompile
  122.  
  123.  
  124.   Strings:
  125.   ───────
  126.  
  127.   builtin functions:
  128.     bin2hex        // convert binary strings to hex strings
  129.     bin2int        // convert a 1, 2, or 4-byte string to an integer
  130.     char           // convert integers to 1-byte strings
  131.     char2          // convert integers to 2-byte strings
  132.     char4          // convert integers to 4-byte strings
  133.     concat         // concatenated strings together
  134.     copystr        // duplicate a string one or more times
  135.     flipcase       // toggle the case of each character in a string
  136.     hex2bin        // convert hex strings to binary strings
  137.     icompare       // test strings for equality, ignoring case
  138.     joinstr        // combine strings into a 'multistring'
  139.     locase         // convert a string to lower case
  140.     pad            // left or right justify a string and pad the string
  141.     parse          // parse substrings (or substring positions) into variables
  142.     pos            // search for a string within another string
  143.     poschar        // search for a character class in string
  144.     posnot         // search for ~character class in string
  145.     sizeof         // return the size of a string (in characters)
  146.     splitstr       // split a 'multistring' into substrings
  147.     sub            // replace a substring within another string
  148.     thousands      // convert a number to a thousands-separated string
  149.     upcase         // convert a string to upper case
  150.  
  151.  
  152.   Miscellaneous:
  153.   ─────────────
  154.  
  155.   builtin functions:
  156.     arg            // access function arguments
  157.     base           // convert a number to a string in a new base
  158.     beep           // beep the PC speaker
  159.     delay          // suspend execution of a macro
  160.     eval           // evaluate a string as macro source code
  161.     exec           // execute a DOS program
  162.     halt           // exit to DOS immediately
  163.     peek           // return a copy of a DOS memory area
  164.     poke           // modify a DOS memory area
  165.     rand           // generate a random number
  166.  
  167.  
  168.   Buffers:
  169.   ───────
  170.  
  171.   statements:
  172.     databuf        // define or add to a data buffer
  173.  
  174.   builtin functions:
  175.     actualrow      // get the actual row over an apparent distance
  176.     addline        // add a line to the end of a buffer
  177.     apparentrow    // get the apparent row over an actual distance
  178.     asciibuf       // create a buffer of ASCII characters
  179.     bufchanged?    // test if buffer is modified
  180.     buffer?        // test if a buffer exists
  181.     bufferflag     // change buffer flags
  182.     bufferflag?    // get buffer flags
  183.     createbbuf     // create a new binary buffer
  184.     createbuf      // create a new buffer
  185.     currbuf        // change the current buffer
  186.     delchar        // delete text on a line
  187.     delline        // delete a line
  188.     destroybuf     // destroy a buffer
  189.     findbuf        // find a buffer with a given buffer name
  190.     getbinarylen   // get binary line length used to load a buffer
  191.     getbufname     // get the buffer name
  192.     getchar        // get a character from a buffer
  193.     getcurrbuf     // get the current bufferid
  194.     getlinebeg     // get the starting column of a line
  195.     getlinelen     // get the length of a line
  196.     getlines       // get the total number of lines in buffer
  197.     getloadinfo    // get directory information after loadbuf/insertbuf
  198.     getprevbuf     // get the previous bufferid
  199.     gettext        // get a line or a portion of a line from a buffer
  200.     gotobuf        // change the default buffer for builtin functions
  201.     hidebuf        // hide a buffer
  202.     insabove       // insert a line before another line
  203.     insertbuf      // insert a file into a buffer
  204.     insline        // insert a line after another line
  205.     instext        // insert a string into a line
  206.     joinline       // join two lines into one line
  207.     lineflag       // change line flags
  208.     lineflag?      // get line flags
  209.     loadbuf        // create a new buffer from a file or directory
  210.     ovltext        // overlay a string onto a line
  211.     printbuf       // print a buffer
  212.     savebuf        // save a buffer to a file
  213.     setbufname     // set the name associated with a buffer
  214.     splitline      // split a line into two lines
  215.     trunc?         // test if buffer was truncated when loaded
  216.     undosize       // set the undo stack size for a buffer
  217.     writetext      // insert or overlay a string in a line
  218.  
  219.   extension functions:
  220.     backsp         // delete char to the left (with joinline)
  221.     caseword       // change the case of the word at the cursor
  222.     centerline     // center the line at the cursor
  223.     commentline    // comment the line at the cursor
  224.     delchar2       // delete the char at the cursor (with joinline)
  225.     delword        // delete right word at the cursor
  226.     enter          // enter key
  227.     getword        // get the word at the cursor or at a column
  228.     insline2       // insert a line with autoindent
  229.     literal        // prompt to enter the next character literally
  230.     livewrap       // live word wrap support
  231.     splitline2     // split a line with autoindent
  232.     swapline       // swap lines at the cursor
  233.     tabfile        // detab or entab the current file
  234.     timestamp      // enter the date and time at the cursor
  235.     write          // enter a string at the cursor
  236.  
  237.  
  238.   Cursors:
  239.   ───────
  240.  
  241.   builtin functions:
  242.     col            // move the cursor to a column
  243.     colorcursor    // change the cursor color
  244.     currcursor     // change the current cursor
  245.     cursor?        // test if a cursor exists
  246.     destroycursor  // destroy a cursor and any associated window
  247.     down           // move the cursor down
  248.     getcol         // get the cursor column
  249.     getcurrcurs    // get the current cursor
  250.     getcurswin     // get window associated with a cursor
  251.     getprevcurs    // get the previous cursor
  252.     getrow         // get the cursor row
  253.     gotopos        // move the cursor (absolute)
  254.     insert?        // get cursor insert/overstrike mode
  255.     lastpos        // move the cursor to the last cursor position
  256.     left           // move the cursor left
  257.     movepos        // move the cursor (relative)
  258.     popcursor      // restore the cursor position from the cursor stack
  259.     pushcursor     // save the cursor position on the cursor stack
  260.     right          // move the cursor right
  261.     row            // move the cursor to a row
  262.     setcursor      // create a new cursor or change the cursor state
  263.     up             // move the cursor up
  264.  
  265.   extension functions:
  266.     enter          // the enter key
  267.     nextword       // find the next word
  268.     prevword       // find the previous word
  269.     tableft        // tab left
  270.     tabright       // tab right
  271.  
  272.  
  273.   Bookmarks:
  274.   ─────────
  275.  
  276.   builtin functions:
  277.     currbook       // change the current bookmark
  278.     destroybook    // destroy a bookmark
  279.     getbookbuf     // get the buffer associated with a bookmark
  280.     getcurrbook    // get the current bookmark for a buffer
  281.     getprevbook    // get the previous bookmark in the buffer
  282.     gotobook       // move the cursor to a bookmark
  283.     setbook        // create a new bookmark or move an existing bookmark
  284.  
  285.   extension functions:
  286.     askbook        // prompt for a bookmark to move to
  287.     cyclebook      // cycle though all existing bookmarks
  288.     gotobook2      // move cursor to a bookmark (with messages)
  289.     placebook      // set a bookmark (with messages)
  290.     quickbook      // place a 'quick' bookmark
  291.  
  292.  
  293.   Marks:
  294.   ─────
  295.  
  296.   builtin functions:
  297.     colormark      // change the mark color
  298.     copymark       // mark a copy of a mark
  299.     currmark       // change the current (top) mark
  300.     destroymark    // destroy a mark
  301.     extendmark     // extend the current mark to the cursor position
  302.     getcurrmark    // get the current mark for a buffer
  303.     getmarkbot     // get the bottom row of a mark
  304.     getmarkbuf     // get the buffer associated with the mark
  305.     getmarkcols    // get the mark width
  306.     getmarkleft    // get the left column of mark
  307.     getmarkright   // get the right column of mark
  308.     getmarkrows    // get the mark height
  309.     getmarktop     // get top row of a mark
  310.     getmarktype    // get the mark type
  311.     getmarkuse     // get the default markid
  312.     getprevmark    // get the previous mark
  313.     inmark?        // test if a cursor position is inside a mark
  314.     mark?          // test for the existence of a mark
  315.     markchar       // begin or extend a char mark
  316.     markcolumn     // begin or extend a column mark
  317.     markline       // begin or extend a line mark
  318.     markstream     // being or extend a stream mark
  319.     stopmark       // stop the cursor extension of a mark
  320.     usemark        // change the default markid
  321.  
  322.   extension functions:
  323.     getmarktext    // get top line of text in a mark
  324.     markeol        // mark to the end of the current line
  325.     markpara       // mark the paragraph at the cursor
  326.     markword       // mark the word at the cursor
  327.     smark          // allow CUA <shift> marking after cursor movement
  328.  
  329.  
  330.   Blocks:
  331.   ──────
  332.  
  333.   builtin functions:
  334.     caseblock      // change the case of text in a mark
  335.     copyblock      // copy the text in a mark
  336.     copyblockover  // overlay the text in a mark over other text
  337.     deleteblock    // delete the text in a mark
  338.     fillblock      // fill a mark with a repeating character or string
  339.     foldblock      // manipulate folds in a mark
  340.     formatblock    // reformat the text in a mark
  341.     justblock      // justify the text in a mark
  342.     moveblock      // move the text in a mark
  343.     printblock     // print the text in a mark
  344.     saveblock      // save the text in a mark
  345.     shiftblock     // shift the text in a mark left or right
  346.     sortblock      // sort the text in a mark
  347.     tabblock       // detab or entab the text in a mark
  348.  
  349.   extension functions:
  350.     copyblock2     // copy a block (or a line) of text
  351.     deleteblock2   // delete a block of text
  352.     fillblock2     // prompt to fill a mark with a string
  353.     formatblock2   // reformat a block or paragraph
  354.     justblock2     // justify a block text between margins
  355.     moveblock2     // move a block of text
  356.     moveblockover  // move a block of text over other text
  357.     quote          // quote a paragraph or a block of text
  358.     saveblock2     // prompt to save a block of text
  359.     sortblock2     // sort a block of text
  360.  
  361.  
  362.   Clipboards:
  363.   ──────────
  364.  
  365.   extension functions:
  366.     askclip        // prompt to change the current clipboard
  367.     clear          // erase the contents of a clipboard
  368.     copy           // copy or copy-append to a clipboard
  369.     cut            // cut or cut-append to a clipboard
  370.     paste          // paste or paste-over from a clipboard
  371.  
  372.  
  373.   Undo and Redo:
  374.   ─────────────
  375.  
  376.   builtin functions:
  377.     redo           // redo the last change or group of changes
  378.     undo           // undo the last change or group of changes
  379.     undobegin      // start a group of undoable operations
  380.     undocursor     // save the cursor position on the undo/redo stack
  381.     undoend        // end a group of undoable operations
  382.     undosize       // associate an undo/redo stack with a buffer
  383.  
  384.  
  385.   Search and Replace:
  386.   ──────────────────
  387.  
  388.   builtin functions:
  389.     find           // search for a string
  390.     replace        // search for a string, replace with another string
  391.  
  392.   library functions:
  393.     gotoerror      // go to the compiler error on the current line
  394.     gotomatch      // find the matching character
  395.     scanfiles      // scan files for a string
  396.     search         // search or replace within the current file
  397.  
  398.   extension functions:
  399.     askcol         // prompt for a column to go to
  400.     askfind        // prompt for a search (multistring)
  401.     askfindo       // prompt for find occurrences of a string
  402.     askrepl        // prompt for search and replace (multistring)
  403.     askrow         // prompt for a row to go to
  404.     askscan        // prompt to scan files for a string
  405.     col2           // go to a column (absolute or relative +/-)
  406.     findlast       // repeat the last search/replace
  407.     findlasto      // find occurrences of the last search string
  408.     findo          // find occurrences of a string
  409.     gotomark       // go to an edge of a mark
  410.     gotomatch2     // find the matching char (with highlight)
  411.     isearch        // incremental search
  412.     row2           // go to a row (absolute or relative +/-)
  413.     search2        // search/replace with messages and highlighting
  414.     searchfiles    // scan files for a string (multistring arguments)
  415.  
  416.  
  417.   Folds:
  418.   ─────
  419.  
  420.   builtin functions:
  421.     closefold      // close a fold (and optionally, subfolds)
  422.     createfold     // create a one-line 'open' fold
  423.     destroyfold    // destroy a fold (and optionally, subfolds)
  424.     fold?          // test for the existence of a closed fold
  425.     foldblock      // manipulate folds within a mark
  426.     getfold        // get information about a fold
  427.     openfold       // open a fold (and optionally, subfolds)
  428.  
  429.   extension functions:
  430.     foldall        // manipulate all folds in a buffer
  431.     foldline       // fold or unfold a line
  432.  
  433.  
  434.   Timers:
  435.   ──────
  436.  
  437.   builtin functions:
  438.     destroytimer   // destroy a timer
  439.     setalarm       // set an alarm timer
  440.     setrepeat      // set a repeating interval timer
  441.     settimer       // set a non-repeating interval timer
  442.     timer?         // test for the existence of a timer
  443.  
  444.  
  445.   Windows:
  446.   ───────
  447.  
  448.   builtin functions:
  449.     createwindow   // create a new window
  450.     destroywindow  // destroy a window
  451.     display        // update the display
  452.     eotstring      // change the 'end-of-text' line in a window
  453.     frame?         // test for window frame components
  454.     getborder      // get window border information
  455.     getbotwin      // get the windowid of the bottommost window
  456.     getchild       // get a child windowid
  457.     getcolor       // get window colors
  458.     getcoord       // get window dimensions and coordinates
  459.     getcurrwin     // get the windowid of the topmost window
  460.     getnextwin     // get the windowid of the next window
  461.     getparent      // get a parent windowid
  462.     getprevwin     // get the windowid of the previous window
  463.     getregion      // get a window region from virtual coordinates
  464.     gettitle       // get a window title
  465.     getviewbot     // get the bottommost visible row in window
  466.     getviewcols    // get the visible window width
  467.     getviewleft    // get the leftmost column in window
  468.     getviewright   // get the rightmost visible column in window
  469.     getviewrows    // get the visible window height
  470.     getviewtop     // get the topmost row in a window
  471.     getwinbuf      // get the bufferid associated with a window
  472.     getwincount    // get the number of windows or child windows
  473.     getwinctrl     // get a title bar control
  474.     getwincurs     // get the cursorid attached to a window
  475.     getwinobj      // get object name associated with a window
  476.     getwinscr      // get a scroll bar position from virtual coords
  477.     gotowindow     // change the default window for builtin functions
  478.     hidecursor     // hide a cursor (temporarily for buffer windows)
  479.     hidewindow     // hide a window temporarily
  480.     hilite         // highlight text in a window
  481.     movewindow     // move a window to a new location
  482.     setborder      // change the window borders
  483.     setcolor       // change the window colors
  484.     setframe       // add or remove window frame components
  485.     setnextwin     // set the next window
  486.     setparent      // set the parent window
  487.     setprevwin     // set the previous window
  488.     setshadow      // set the window shadow
  489.     setshadow2     // set the 1/2 window shadow
  490.     settitle       // change a window title
  491.     setwinctrl     // define window title bar controls
  492.     setwincurs     // attach a cursor (and a buffer) to a window
  493.     setwinobj      // associate a window with an object
  494.     showcursor     // show a cursor
  495.     showwindow     // show a hidden window
  496.     sizewindow     // change the size of a window
  497.     tilewindow     // tile windows
  498.     virtocol       // convert a virtual X-coordinate to a column
  499.     virtorow       // convert a virtual Y-coordinate to a row
  500.     window?        // test for the existence of a window
  501.     windowflag     // change window flags
  502.     wintype?       // test the window event object hierarchy
  503.  
  504.     Note: the following builtin video functions are only meaningful in
  505.     video output windows (windows which do not display a buffer):
  506.  
  507.     fillrect       // fill a rectangle with a character
  508.     getattr        // get a color attribute from a video window
  509.     getstr         // get a string from a video window
  510.     getx           // get the column of video window cursor
  511.     gety           // get the row of video window cursor
  512.     gotoscreen     // route video functions to the physical screen
  513.     gotoxy         // move the cursor of video window
  514.     writeline      // display a string and CR in a video window
  515.     writestr       // display a string in a video window
  516.  
  517.   library functions:
  518.     cascade        // cascade all windows
  519.     copywin        // copy the current edit window
  520.     currwin        // change the current window
  521.     deletewin      // delete the current window
  522.     getsettings    // get the current window settings
  523.     max?           // test if the current window is maximized
  524.     maximize       // maximize the current window
  525.     min?           // test if the current window is minimized
  526.     minimize       // minimize the current window
  527.     nextwindow     // switch to the next window
  528.     pankey         // pan the video background with the keyboard
  529.     prevwindow     // switch to a previous window
  530.     restore        // restore the current window
  531.     setdraw        // set the window line-drawing style
  532.     setting        // change a window setting
  533.     setting?       // test if specified window settings are ON
  534.     sizekey        // resize or move the current window with the kbd
  535.     sizewin        // resize or move the current window
  536.     splitwin       // split the current edit window
  537.     tile           // tile all windows horizontally or vertically
  538.     toolbar        // display a toolbar on the current window
  539.     winlist        // display a popup menu of open windows
  540.  
  541.  
  542.   Scrolling:
  543.   ─────────
  544.  
  545.   builtin functions:
  546.     adjustcol      // adjust left window view offset
  547.     adjustrow      // adjust top window view offset
  548.     pagedown       // scroll down one page
  549.     pageup         // scroll up one page
  550.     rollcol        // scroll left or right by a relative amount
  551.     rollrow        // scroll up or down by a relative amount
  552.     scrollcol      // scroll directly to a column
  553.     scrollrow      // scroll directly to a row
  554.  
  555.  
  556.   Video:
  557.   ─────
  558.  
  559.   builtin functions:
  560.     blink          // enable or disable the video blink mode
  561.     getpalette     // return a color attribute or the entire palette
  562.     getvidbot      // return the bottom edge of the virtual screen
  563.     getvidcols     // return the screen width
  564.     getvidleft     // return the left edge of the virtual screen
  565.     getvidright    // return the right edge of the virtual screen
  566.     getvidrows     // return the screen height
  567.     getvidtop      // return the top edge of the virtual screen
  568.     mono?          // test for a monochrome display
  569.     pan            // pan the virtual screen (relative)
  570.     panto          // pan the virtual screen (absolute)
  571.     setdisplay     // enable/disable display updating
  572.     setpalette     // define the color palette
  573.     setvideo       // change video mode/background
  574.     showentry      // show the entry screen when the editor was started
  575.     videoborder    // change the video overscan border color
  576.  
  577.   library functions:
  578.     videomode      // change the video mode
  579.  
  580.   extension functions:
  581.     togglemode     // toggle the video mode between 80x25 and 80x50
  582.     writebak       // write a string on the video background
  583.  
  584.  
  585.   Syntax Highlighting:
  586.   ───────────────────
  587.  
  588.   statements:
  589.     keyword        // define syntax highlighting keywords
  590.  
  591.   builtin functions:
  592.     setsyntax      // enable or disable syntax highlighting for a window
  593.     syntax         // define a syntax highlighting template for the
  594.                    //   current object
  595.  
  596.   extension functions:
  597.     onsyntax       // called by the editory library (LIB.X) to get the
  598.                    // syntax highlighting object for a filename
  599.     hiliteword     // dynamically define the word at the cursor as
  600.                    // a syntax highlighting keyword
  601.  
  602.   File Handling:
  603.   ─────────────
  604.  
  605.   builtin functions:
  606.     bootpath       // get a filename in terms of the editor bootpath
  607.     chgfileattr    // change file attributes
  608.     closefile      // close an open file
  609.     copyfile       // copy a file
  610.     createdir      // create a new directory
  611.     currpath       // change the current drive and/or path
  612.     deletefile     // delete a file
  613.     fileattr?      // test file attributes
  614.     filepos        // change the position in an open file
  615.     getbootpath    // get the editor invocation path
  616.     getcurrpath    // get the current DOS path
  617.     getdisk        // get disk drive information
  618.     locatefile     // search for a file or directory in a path
  619.     openfile       // open a file and return a file handle
  620.     qualify        // get a fully qualified filename
  621.     readfile       // read from an open file
  622.     renamefile     // rename a file
  623.     scanfile       // scan a file for a string
  624.     setbootpath    // change the bootpath
  625.     touchfile      // update the date and time of a file
  626.     writefile      // write to an open file
  627.  
  628.   library functions:
  629.     dir?           // test if a filespec is a directory
  630.  
  631.   extension functions:
  632.     defext         // append a default extension if no extension
  633.     forceext       // force a filename to have an extension
  634.     getext         // get the extension portion of a filespec
  635.     getname        // get the name & extension portion of a filespec
  636.     getpath        // get the drive & path portion of a filespec
  637.  
  638.  
  639.   System Initialization:
  640.   ─────────────────────
  641.  
  642.   builtin functions:
  643.     cursorsize     // set the insert and overstrike cursor size
  644.     international  // define international date and time formats
  645.     maxems         // define the amount of EMS memory to use
  646.     maxxms         // define the amount of XMS memory to use
  647.     memoptions     // set memory usage options
  648.     printformat    // define the initial printer settings
  649.     speaker        // enable or disable the PC speaker
  650.     swapfiles      // define the swapfiles to use
  651.  
  652.  
  653.   System Information:
  654.   ──────────────────
  655.  
  656.   builtin functions:
  657.     getdate        // return the date in international format
  658.     getenv         // return the value of a DOS environment variable
  659.     getexe         // return the editor .EXE file name
  660.     getos          // return the operating system version
  661.     getrawtime     // return the time and date in raw format
  662.     gettime        // return the time in international format
  663.     getversion     // return the current version of the editor
  664.  
  665.  
  666.   Keyboard:
  667.   ────────
  668.  
  669.   builtin functions:
  670.     getkey         // wait for a key and return a keycode
  671.     getkeycode     // get a keycode for keyname
  672.     getkeyname     // get a keyname for a keycode
  673.     inheritkeys    // enable or disable keyboard event inheritance
  674.     kbdoptions     // set keyboard options
  675.     keyhit?        // test if a key was pressed
  676.     queuekey       // push keycode(s) onto the event queue
  677.     sendkey        // execute keycode(s) immediately
  678.     shiftkey?      // test the shift key state
  679.  
  680.   extension functions:
  681.     askrepkey      // prompt to repeat a key or keys
  682.     prefix         // generate multi-key events
  683.  
  684.  
  685.   Mouse:
  686.   ─────
  687.  
  688.   builtin functions:
  689.     button?        // test the mouse button state
  690.     closemouse     // disable the mouse
  691.     getmousex      // get the mouse virtual X coordinate
  692.     getmousey      // get the mouse virtual Y coordinate
  693.     getregion      // get the window region at the mouse position
  694.     hidemouse      // hide the mouse cursor
  695.     mousepos       // change the mouse pointer position
  696.     mousesense     // change the mouse sensitivity
  697.     openmouse      // enable the mouse
  698.     showmouse      // show the mouse cursor
  699.     virtocol       // convert a virtual X coordinate to a column
  700.     virtorow       // convert a virtual Y coordinate to a row
  701.  
  702.   library functions:
  703.     trackmouse     // move the cursor to the mouse pointer position
  704.  
  705.  
  706.   Menus:
  707.   ─────
  708.  
  709.   statements:
  710.     menu           // define a pull-down or popup menu
  711.     menubar        // define a menu bar for a window
  712.  
  713.   builtin functions:
  714.     getmenu        // get menu information
  715.     getmenubar     // get menu bar information
  716.     hilitebar      // highlight menu bar item
  717.  
  718.   library functions:
  719.     gotobar        // highlight a menu bar item
  720.     gotobar2       // highlight a toolbar or drive menu item
  721.     gotomenu       // display a pull-down menu
  722.     popup          // display a popup menu
  723.     submenu        // display a submenu
  724.  
  725.  
  726.   Desktop:
  727.   ───────
  728.  
  729.   library functions:
  730.     begdesk        // mark the beginning of the current desktop
  731.     currdesk       // set the current desktop to the window layout
  732.     enddesk        // mark the end of the current desktop
  733.     opendesk       // load a desktop and make it the current desktop
  734.     openhistory    // load history buffers and the current desktop
  735.     restoredesk    // set the window layout to the current desktop
  736.     savedesk       // save the current desktop to a file
  737.     savehistory    // save all history buffers and the current desktop
  738.  
  739.  
  740.   Prompts and Dialog boxes:
  741.   ────────────────────────
  742.  
  743.   builtin functions:
  744.     say            // display a message on the window title bar
  745.  
  746.   library functions:
  747.     about          // display an about dialog box
  748.     askbox         // prompt the user for a string (2-line box)
  749.     askbox1        // prompt the user for a string (1-line box)
  750.     askfile        // display a file selection picklist
  751.     askline        // prompt the user for a string (command-line prompt)
  752.     finddlg        // display a find dialog box
  753.     msgbox         // display a message in a window
  754.     okbox          // display an Ok-Cancel message box
  755.     repldlg        // display a replace dialog box
  756.     scandlg        // display a scan dialog box
  757.     shortbox       // display a message box without an 'Ok' button
  758.     yncbox         // display a Yes-No-Cancel message box
  759.  
  760.     Note: the following library functions are used for creating custom
  761.     dialog boxes:
  762.  
  763.     button         // create a button control
  764.     dialog         // create a main dialog box window
  765.     field          // create an edit field control
  766.     getdialog      // display a modal dialog box and get return values
  767.     groupbox       // create a groupbox control
  768.     listbox        // create a listbox control
  769.     setgroupbox    // re-initialize a groupbox
  770.     showdialog     // make a dialog box modeless
  771.     whenenter      // define an <enter> handler for a control
  772.     whenselect     // define a select handler for a groupbox/listbox
  773.  
  774.   extension functions:
  775.     asciilist      // display an ASCII chart (with char entry)
  776.     ask            // prompt the user for a string
  777.     askc           // generic prompt to change a config variable
  778.     askcomplete    // filename completion within an open prompt
  779.     askprthdr      // change the print header/footer
  780.     askrac         // replace/append/cancel popup menu
  781.     askx           // generic prompt (with command execution)
  782.     picklist       // display a file selection picklist
  783.  
  784.  
  785.   Prompt History:
  786.   ──────────────
  787.  
  788.   library functions:
  789.     addhistory     // add a string to a history buffer
  790.     askhistory     // display a history menu for the current prompt
  791.     gethistname    // get the history buffer for the current prompt
  792.     gethiststr     // get the most recent string in a history buffer
  793.     nexthist       // display the next history string in prompt
  794.     openhistory    // load history buffers and the current desktop
  795.     pophistory     // display a popup history menu
  796.     prevhist       // display the previous history string in prompt
  797.     savehistory    // save all history buffers and the current desktop
  798.  
  799.  
  800.   Primary Editing:
  801.   ───────────────
  802.  
  803.   library functions:
  804.     close          // close the current edit or file manager window
  805.     filelist       // display a popup menu of open buffers
  806.     nextfile       // display the next buffer in the current window
  807.     open           // open a new edit or file manager window
  808.     openbuf        // display a buffer in an edit window
  809.     opennew        // open a new edit window with an empty buffer
  810.     prevfile       // display the previous buffer in the current window
  811.     reopen         // refresh the current edit or file manager window
  812.     save           // save the buffer in the current edit window
  813.     setname        // rename the current edit window and buffer
  814.  
  815.   extension functions:
  816.     askasave       // prompt to set the autosave time interval
  817.     askinsert      // prompt to insert a file at the cursor
  818.     askname        // prompt to change the current file name
  819.     askopen        // prompt to open an edit or file manager window
  820.     askopenb       // prompt to open a file in binary mode
  821.     asksaveas      // prompt to save the current file under a new name
  822.     autosave       // set the autosave time interval
  823.     close          // close the current window (higher level)
  824.     closeall       // close all windows
  825.     opencfg        // open an AML configuration file
  826.     openlast       // open the last file closed
  827.     openword       // open the filename at the cursor
  828.     print          // print current file or marked block
  829.     printfile      // print a file on disk
  830.     printstr       // send a string to the printer
  831.     quickref       // display the function reference or quick reference
  832.  
  833.  
  834.   DOS Shell:
  835.   ─────────
  836.  
  837.   builtin functions:
  838.     exec           // execute a DOS program (low level)
  839.  
  840.   extension functions:
  841.     askrun         // prompt to execute a DOS command
  842.     askruncap      // prompt to capture DOS command output
  843.     os             // execute a DOS program (change and restore path)
  844.     run            // execute a DOS command
  845.     runcap         // execute a DOS command and capture output
  846.     shell          // shell to DOS
  847.  
  848.  
  849.   Key Macros:
  850.   ──────────
  851.  
  852.   builtin functions:
  853.     playing?       // test if a key macro is currently playing
  854.  
  855.   library functions:
  856.     assignkey      // assign the scrap macro to a key
  857.     erasekey       // erase the scrap macro or all key macros
  858.     openkey        // load key macros in a file
  859.     playkey        // execute a key macro
  860.     savekey        // save all key macros to a file
  861.     setting        // turn record mode ON and OFF
  862.  
  863.   extension functions:
  864.     askopenkey     // prompt to open a key macro file
  865.     asksavekey     // prompt to save current key macros
  866.     erasekey2      // erase key macros (with messages)
  867.     openkey2       // open a key macro file (with messages)
  868.     play           // play the current scrap macro
  869.     record         // toggle the record setting
  870.  
  871.  
  872.   File Manager:
  873.   ────────────
  874.  
  875.   library functions:
  876.     fdobrk         // break out of the 'fdomark' function
  877.     fdomark        // execute a function for all marked files
  878.     fmark          // mark or unmark files
  879.     fmark?         // test if files are marked
  880.     fscanstr       // get the scan string for a file manager window
  881.     fsort          // sort files
  882.     ftype?         // test file manager window type
  883.     fup            // display the parent directory
  884.     getffile       // get the filespec at the current line
  885.     openf          // open files (low level)
  886.  
  887.   extension functions:
  888.     fattr          // change the attributes of a file or marked files
  889.     fcopy          // copy a file or marked files
  890.     fdelete        // delete a file or marked files
  891.     fmkdir         // create a new directory
  892.     fmove          // move a file or marked files
  893.     fopen          // open a file or marked files
  894.     fprint         // print a file or marked files
  895.     frename        // rename a file or directory
  896.     frun           // execute a file
  897.     ftouch         // update date/time of a file or marked files
  898.  
  899.  
  900.   Internal Events:
  901.   ───────────────
  902.  
  903.   builtin functions:
  904.     oncompiling    // called while compiling a file
  905.     ondraw         // called after drawing the window client area
  906.     onloading      // called while loading a file
  907.     onprinting     // called while printing a file
  908.     onsaving       // called while saving a file
  909.     onstatus       // called before drawing the window status line
  910.  
  911.   library functions:
  912.     onalarm        // called to sound the PC speaker
  913.     onclose        // called before closing a file or fmgr window
  914.     oncomment      // returns language comments for a filename
  915.     onentry        // called after starting the editor
  916.     onexit         // called before exiting the editor
  917.     onfocus        // called after switching to another file or window
  918.     onfound        // called after a string is found
  919.     onhotkey       // called after a filelist hotkey char is entered
  920.     onkillfocus    // called before before a window loses the focus
  921.     onopen         // called after loading a new file or fmgr window
  922.     onscanning     // called while scanning files
  923.     onsyntax       // returns a syntax object for a filename
  924.  
  925.   extension functions:
  926.     onsave         // called before a file is saved
  927.  
  928.