home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / db4intro.zip / DBIVPRE.VUE
Text File  |  1988-11-02  |  22KB  |  609 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6. Summary of Some of the Proposed dBase IV Commands
  7. (source October, 1988 DBMS Magazine Vol. 1, No. 2)
  8.  
  9. Note:  Commands which are SET either ON or OFF,the default setting is
  10. shown in uppercase letters.
  11.  
  12. @<row 1>,<coll>SAY...GET command has been greatly enhanced to provide
  13. extended data validation, help, and custom prompts using the new
  14. [[OPEN]WINDOW<window name>],[VALID<condition>],[ERROR <exp>], [WHEN
  15. <condition>], [DEFAULT <exp>], [MESSAGE <expC>],and [COLOR[<standard>],
  16. [<enhanced>]] clauses.  The full syntax is: @<row1>, <col1> [[SAY <exp>
  17. [PICTURE <clause>][FUNCTION <function list>]] [[GET <varible> [[OPEN]
  18. WINDOW<window name>] [PICTURE <clause>] [FUNCTION <function list>]
  19. [RANGE<low>,<high>] [[VALID<condition>][ERROR<expC>]] [WHEN<condition>]
  20. [DEFAULT<exp>[MESSAGE<expC>][COLOR[<standard>],[<enhanced>]].
  21.  
  22. @<row 1>, <col1>FILL TO <row2,<col2>COLOR<color attribute> allows you to
  23. rapidly change the display color attributes of a rectangular portion of
  24. the screen.
  25.  
  26. @<row1>,<col1> TO <row2>,<col2>[DOUBLE/PANEL/NONE/< border definition
  27. string>]COLOR<color attribute> has been enhanced to allow you to select
  28. the characterts used to draw boxes on the screen and specify the color of
  29. the box.
  30.  
  31. ACTIVATE MENU <menu name>[PAD<pad name>] displays a previously DEFINEd
  32. horizontal bar menu and transfers control to that menu.
  33.  
  34. ACTIVATE POPUP <popup name>displays a previously DEFINEd pop-up menu and
  35. transfers control to it.
  36.  
  37. ACTIVATE WINDOW <window name list>/ALL displays and activates the windows
  38. contained in the name list or all windows.  When a window is activated,
  39. all screen input and output take place in that window.
  40.  
  41. APPEND FROM <file name>/?/ARRAY <array name>[FOR<condition>]
  42. [[TYPE[DELIMITED[WITH BLANK/<delimiter>]/SDF /DIF /SYLK /WKS /FW2 /RPD
  43. /dBASEII] has been enhanced to optionally append records to the database
  44. from a named array, and supports new Lotus 1-2-3, Framework II, Rapidfile,
  45. and dBase II filetypes.
  46.  
  47. APPEND MEMO<field name>FROM<file name>[OVERWRITE] appends the entire
  48. contents of<file name> to the memo field specified in the current record.
  49. If the OVERWRITE option is specified, the memo field is erased before the
  50. file is read into the field.
  51.  
  52. AVERAGE [<expN list>][<scope>][FOR<condition>][WHILE<condition>]
  53. [TO<memvar list>/TO ARRAY<array name>] replaces the valuses of one or more
  54. array elements in the named array with the computed averages of the
  55. specified elements.
  56.  
  57. BEGIN TRANSACTION [<path name>] instructs dBase IV to begin recording
  58. subsequent modifications of data and index files in a transaction
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. log file.  All transactions are recorded until an END TRANSACTION command
  72. is encountered in the normal course of processing, or a ROLLBACK command
  73. is issued.
  74.  
  75. BROWSE has been much improved with an enhanced menu bar and the ability to
  76. edit memo fields.  It can operate within a user-defined window with
  77. automatic panning of fields.  Within BROWSE, you can now display
  78. calculated fields and data validation.
  79.  
  80.   BROWSE nowsupports the [NOFOLLOW],[NOINIT],[NOMENU],[NOCLEAR],
  81. [NOAPPEND],[NODELETE], AND [NOEDIT] options to maintain compatibility with
  82. the Control Center browsing capability.  The complete BROWSE syntax is as
  83. follows:BROWSE[FIELDS<field>[/R<n>]/<calculated field id>...]][LOCK<expN>]
  84. [FREEZE<field>][WIDTH<expN>][NOFOLLOW][NOINIT][NOMENU][NOCLEAR][NOAPPEND]
  85. [NODELETE][NOEDIT][COMPRESS][WINDOW<window name>][FORMAT].
  86.  
  87. When using BROWSE in a multiuser environment, dBase IV now performs a
  88. record lock only when you attempt to modify information contained in the
  89. record without first attempting a manual record lock.  If another user
  90. changes information in a record that you are browsing, dBase IV will
  91. automatically display the changed information on your screen.
  92.  
  93. BUILD is a dBase IV Developer's Edition stand alone utility with enhanced
  94. COMPILE, DBLINK, and COPY capabilities.  Given the root program name of an
  95. application, BUILD is capable of compiling, linking, and copying the
  96. entire application to distribution diskettes.
  97.  
  98. CALCULATE [<scope>][FOR<condition>][WHILE<condition>]
  99. NPV()/STD()/VAR()/MIN() /MAX()/AVG()/SUM()/cnt()[TO<memvarlist>
  100. /TOARRAY<array name>] processs records in the active database for the
  101. financial function NPV() (net present value).  It also handles the
  102. statistical function of AVG() (arithmetic mean), CNT() (count records),
  103. MAX() (maximum), MIN() (minimum), STD() (standard deviation), SUM() (sum
  104. of values), and VAR() (variance).
  105.  
  106. CHANGE...now supports the [NOFOLLOW],[NOINIT],[NOMENU],[NOCLEAR],
  107. [NOAPPEND],[NODELETE], and [NOEDIT] options to maintain compatibility with
  108. enhanced EDIT command.  The complete CHANGE syntax is: CHANGE
  109. [<scope>][FIELDS<field list>][WHILE <condition>][FOR <condition>]
  110. [NOFOLLOW][NOINIT][NOMENU][NOCLEAR][NOAPPEND][NODELETE] [NOEDIT].
  111.  
  112. CLEAR MENUS erases all horizontal bar menus from the screen and releases
  113. them from memory.  CLEAR MENUS also clears any active horizontal bar menus
  114. ON SELECTION and ON PAD commands.
  115.  
  116. CLEAR POPUPS erases all pop-up menus from the screen and releases them
  117. from memory.  CLEAR POPUPS also clears any active pop-up menus ON
  118. SELECTION commands.
  119.  
  120. CLEAR WINDOWS deactivates all windows, erases them from the screen, and
  121. releases them fro memory.  Any text obscured by an activated window is
  122. restored.
  123.  
  124. COMPILE <file name> searches for a program source (.prg) file and
  125. generates a program object (.dbo) file with the same file name.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. Program object (.dbo) files are pre-parsed, so executation speed is
  138. greatly increased with their use.
  139.  
  140. CONVERT TO <expN> adds a field to a database structure which contains
  141. information required to do multiuser lock holder identification and change
  142. detection.  Upon execution, CONVERT adds the  DBASELOCK field to the                                             _
  143. selected database.   DBASELOCK is required to use the new CHANGE() and                    _
  144. LKSYS() functions.
  145.  
  146. COPY INDEXES/TAG <NDX file list>/<tag list>[TO<MDX name.mdx>creates .mdx
  147. tags in <MDX file name> with the same key expression as each .ndx file
  148. name of .mdx tag specified.
  149.  
  150. COPY MEMO [<memo field name>]TO<file name>[ADDITIVE] copies the named memo
  151. field to a new file, or adds the memo to an existing file if the ADDITIVE
  152. keyword is used.
  153.  
  154. COPY STRUCTURE EXTENDED TO <file name> produces a database file containing
  155. the new index option database file attribute in addition to field number,
  156. name, type, and size.
  157.  
  158. COPY TAG <MDXtag>[OF<MDXname>]TO<ndx file name.ndx> creates a new .ndx
  159. file with the same key expression as the .mdx tag.  COPY TO <new file>
  160. [<scope>][FIELDS<field list>][FOR<condition>][WHILE<condition>][[TYPE]
  161. [DELIMITED[WITHBLANK/<delimiter>]/SDF/DIF/SYLK/WKS/FW2/RPD/dBASEII] now
  162. supports Framework II, Rapidfile, and dBase II filetypes.
  163.  
  164. COPY TO ARRAY <array name>[<scope>][FIELDS<field list>][FOR <condition>]
  165. [WHILE <condition>] replaces the values of one or more array elements in
  166. the existing named array with fields from the database file currently in
  167. USE.
  168.  
  169. CREATE <file name> now accepts both F and N data types for fixed and
  170. floating point numbers, and will also accept the new index field database
  171. field database field attribute.  (See CREATE FROM.)
  172.  
  173. CREATE <new file> FROM<structure extended file> now creates a database
  174. structure containing the index database field attribute in addition to the
  175. field name, type, length, and decimal places (if applicable).
  176.  
  177. DBLINK <file name>/L is a Developer's Edition's standalone program capable
  178. of joining together up to 256 related program object (.dbo) files into a
  179. single object file for faster execution.  DBLINK will automatically join
  180. together any command, procedure, and format files referenced in <file
  181. name> or other file called by <file name>.
  182.  
  183. DEACTIVATE MENU deactivates the active horizontial bar menu and erases it
  184. from the screen, but does not release it from memory.
  185.  
  186. DEACTIVATE POPUP deactivates the active popup menu and erases it from the
  187. screen, but does not release it from memory.
  188.  
  189. DEACTIVATE WINDOW <window name list>/ALL deactivates and clears the
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. specified windows from the screen.  Any text obscured by a window when the
  204. window was activated is restored.  Any previously activated window is
  205. reactivated, or dBase IV reverts to full-screen input and output.
  206. Deactivated windows are not cleared from memory, and may be reactivated at
  207. any time.
  208.  
  209. DEBUG <file name>/<procedure name>[WITH<parameter list>] invokes dBase
  210. IV's new built in debugger on the specified file.
  211.  
  212. DECLARE<array definition list> creates the arrays specified in the array
  213. definition list and sets aside a memory variable location for each element
  214. of each array.  An array may contain up to two separate element
  215. dimensions.
  216.  
  217. DEFINEBAR <expN>OF<popup name>PROMPT<expC>[MESSAGE <expC>][SKIP[FOR
  218. <condition>]] is used to specify a single option on a pop-up menu.
  219.  
  220. DEFINE BOX FROM<row1>,<col1>TO<row2>,<col2>HEIGHT<expN>[AT LINE <expN>]
  221. [SINGLE/DOUBLE/Rborder definition stringS] established parameters for a
  222. graphic box to be drawn on the printer with subsequent lines of output.
  223.  
  224. DEFINE MENU <menu name>[MESSAGE<expC>] allows you to define horizontal bar
  225. menu.
  226.  
  227. DEFINE PAD <pad name>OF<menu name>PROMPT<expC>[AT<row>,<col>]
  228. [MESSAGE<expC>] allows you to define a single horizontal bar menu option.
  229.  
  230. DEFINE POPUP <popup name>FROM<row1>,<col1>[TO<row2>,<col2>][PROMPT
  231. FIELD<field name>/FILES [LIKE<skelton>]/STRUCTURE][MESSAGE<expC>] is used
  232. to easily create popup menus under program control.
  233.  
  234. DEFINE WINDOW <window name>FROM<row1>,<col1>TO<row2>,<col2>[DOUBLE
  235. /PANEL/NONE/Rborder definition stringS] [COLOR[<standard>][,,enhanced>]
  236. [,<frame>]]allows you to specify the name, size, colors, and border
  237. pattern of a window, and its location on the screen.
  238.  
  239. DELETE TAG <MDXtag1>[OF<MDXname>]/[<NDXtag1>][,<MDXtag2>[OF<MDXname>
  240. /[<NDXtag2>]...] removes the specified index tag from the specified .mdx
  241. files or closes the indicated .ndx files.
  242.  
  243. DISPLAY2[<scope>][[FIELDS]<expression list>][OFF][TO PRINTER]
  244. [WHILE<condition>][FOR<condition>] has been enhanced to support the TO
  245. PRINTER option.
  246.  
  247. DISPLAY FILES[LIKE<skelton>][TO PRINTER] has been enhanced to support the
  248. TO PRINTER option.
  249.  
  250. DISPLAY HISTORY [LAST<expN>][TOP PRINTER] now supports the TO PRINTER
  251. option.
  252.  
  253. DISPLAY MEMORY [TO PRINTER] has been enhanced to show pop-up menu
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. names, horizontal bar menu names and PADS, and the memory consumed by
  270. each.  This is in addition to memory variable names, data types, contents,
  271. and the amount of available memory left.  DISPLAY MEMORY now also supports
  272. the TO PRINTER option.
  273.  
  274. DISPLAY STATUS [TO PRINTER/FILE<file name>] has been modified to display
  275. both MDX and NDX information and now supports the TO PRINTER/FILE<file
  276. name>option.
  277.  
  278. DISPLAY STRUCTURE [TO PRINTER][IN<alias name>] has been enhanced to
  279. display a database structure in a work area other than one currently
  280. selected, and now supports the TO PRINTER option.
  281.  
  282. DO <program file name>/<procedure name>[WITH <parameter list>] now
  283. supports a optional list of parameters to be passed to the called program
  284. or procedure file.
  285.  
  286. EDIT has been improved to provide all the features available in the
  287. Control Center editing capability, described under the BROWSE command.
  288. The complete syntax for EDIT is EDIT [FIELDS,field list>][<scope>]
  289. [FOR<condition>][WHILE<condition>][NOFOLLOW][NOINIT][NOMENU]
  290. [NOAPPEND][NODELETE][NOEDIT][NOCLEAR].
  291.  
  292. END PRINTJOB sends the ending printer codes (defined by the  pecodes                                                            _
  293. system memvar) to the printer, performs an EJECT if required by the
  294.  peject system memvar, and loops back to the begin PRINTJOB statement for_
  295. the number of copies required by the  pecopies system memvar.                                     _
  296.  
  297. END TRANSACTION terminated an active transaction.  When END TRANSACTION is
  298. executed, dBASE IV closes and deletes the active transaction log file.  In
  299. addition, all active locks are released.
  300.  
  301. ENDSCAN closes off an active SCAN loop.  Please see SCAN for more
  302. information.
  303.  
  304. EXPORT TO<file name>[FIELDS<field list>][<scope>][FOR<condition>]
  305. [WHILE<condition>][TYPE][PFS/FW2/RPD/dBASEII] now supports the following
  306. types: FW@ (Framework II), RPD (Rapidfile), and dBASEII, as well as the
  307. orginal PFS file type.
  308.  
  309. GO/GOTO BOTTOM/[RECORD] <expN>/TOP[IN<alias name>] has been enhanced to
  310. move the record pointer in a work area other than one currently selected
  311. for updating or changing.
  312.  
  313. INPORT FROM<file name>[TYPE][PFS,FW2/RPD/dBASEII] now supports the
  314. following types: FW2 (Framework II), RPD(Rapidfile), and dBASEII as well
  315. as the orginal PFS file type.
  316.  
  317. INDEX [ON <key expression>TO<NDX file name.ndx>/TAG<tag>][OF<filename>]
  318. [UNIQUE][DESCENDING] has been vastly enhanced to allow for the creation of
  319. .mdx files and greatly reduced execution time as well as descending index
  320. tags in an .mdx file.  Specifying the TO<NDX file name.ndx> option will
  321. create a dBASE III PLUS type .ndx file, while specifying TAG<tag> will
  322. create a new tag in the specified .mdx file.  If the ,mdx file does not
  323. exist, it is created.
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335. LABEL FROM <label file name>/?[<scope>][FOR <condition>][WHILE
  336. <condition>][SAMPLE][TO PRINTER/TO FILE,file name>] now supports the TO
  337. FILE<file name> option which directs the label output to the named text
  338. file.
  339.  
  340. LIST...now supports TO FILE<file name> in every instance.  The full syntax
  341. of the enhanced LIST commands is:
  342.    LIST[OFF][<scope>][FIELDS]<field list>][<expression list>][TO
  343. PRINTER/TO FILE<file name>][WHILE<condition>][FOR<condition>]LIST
  344. FILES[LIKE<skelton>][FOR<condition>]LIST FILES[LIKE<skelton>][TO
  345. PRINTER/TO FILE<file name>LIST HISTORY[LAST<expN>][TO PRINTER/TOP
  346. FILE<file name>LIST MEMORY[TO PRINTER/TO FILE<file name>][TO
  347. PRINTER/TOFILE<file name>
  348.  
  349. LIST MEMORY has been enhanced to show window names, pop-up menu names,
  350. horizontal bar menu names and PADS, and the memory consumed by each, in
  351. addition to memory variable names, data types, contents, and the amount of
  352. available memory remaining.
  353.  
  354. MODIFY COMMAND/FILE <file name>[WINDOW<window name>] will now search for a
  355. program object(.dbo) file of the same name as the program source (.prg)
  356. file and delete the old .dbo file when a new version of the .prg file is
  357. saved,  In this way, the .dbo files on disk will always represent the
  358. latest version of a .prg or will be deleted.  MODIFY COMMAND will delete
  359. an older version of a .dbo even if an alternate editor is specified in
  360. Config.db.  If SAFETY is SET ON, a confirm message will display.
  361.    MODIFY COMMAND also now supports the WINDOW<window name> option,
  362. allowing the editor to operate within a user-defined window area.
  363.  
  364. MODIFY STRUCTURE will now accept both N(fixed point) and F (floating
  365. point) numeric data types.  If a database structure is modified with index
  366. files open, the indexes are now checked for validation and maintained
  367. accordingly.  MODIFY STRUCTURE also accepts the new database index field
  368. attribute.
  369.  
  370. MOVE WINDOW TO<row1>,<col1>/BY<delta row>,Delta col> moves the active
  371. window to the new absolute position specified by <row1>,<col1>, or the new
  372. relative position specified by <delta row,<delta col>.  MOVE WINDOW TO
  373. also updates the window definition in memory to indicate the final
  374. coordinates.
  375.  
  376. ON KEY[<key label name>][<command>] has been enhanced to trap specific
  377. keys.  Functions keys, shifted function keys, Alt-function keys,
  378. Ctrl-function keys, and all other special keys available on the keyboard
  379. may be trapped with ON KEY by using unique key labels.
  380.  
  381. ON PAD <pad name> OF <menu name> [ACTIVATE POPUP <popup name>] defines
  382. which pop-up menu will be activated when the selection bar is positioned
  383. to the prompt pad of the specified menu.
  384.  
  385. ON PAGE [AT LINE <expN><command>] allows you to specify the action to be
  386. taken at a page break.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411. ON READERROR [<command>] executes the command when invalidf RANGE or VALID
  412. conditions occur, or when an invalid date is entered into a date
  413. variable.  ON READERROR without arguments disables RANGE and VALID
  414. checking.
  415.  
  416. ON SELECTION PAD <pad name> OF<menu name>[<command>] indicates the action
  417. to be taken when a selection is made from a horizontal bar menu previously
  418. DEFINEd and ACTIVATEd.
  419.  
  420. ON SELECTION POPUP <pop-up name>/ALL[<command>] indicates the action to be
  421. taken when a selection is made from a pop-up menu previously DEFINEd and
  422. ACTIVATEd. (See ON PAD, which defines pop-up menu direction.)
  423.  
  424. PLAY MACRO <macro name> will replay a macro created at the Control Center.
  425.  
  426. PRINTER <printer int>=<file name string>[NAME<name string>][DEVICE<device
  427. string>] has been added to dBASEIV to load a printer driver into memory
  428. and operationally specify an output device other than LPT1 (such as LPT2,
  429. COM1, etc. )  Up to four printer drivers may be laoded at one time.
  430.  
  431. PRINTER<printer int>FONT<font int>=<begin code>,<end code>[NAME<font name
  432. string>] allows up to five font definitions to be loaded for each printer
  433. driver loaded.  Each font definition must specify the beginning and ending
  434. printer control codes, and may optionally specify a font name.
  435.  
  436. PROTECT is now available from the dot prompt, and is no longer an external
  437. utility.
  438.  
  439. PUBLIC<memory variable list>/ARRAY,array definition list>] can now declare
  440. both memory variables and arrays to be PUBLIC.
  441.  
  442. REINDEX has been enhanced to support .mdx files and tags.
  443.  
  444. RELEASE MENUS [<menu name list>] erases the named horizontal bar menus
  445. from the screen and releases it from memory.  Any associated ON PAD and ON
  446. SELECTION commands associated with the <menu name> are also released.
  447.  
  448. RELEASE POPUPS [<popup name list>] erases the named pop-up menus from the
  449. screen and releases them from memory.  Any associated ON SELECTION
  450. commands associated with the <popup name> are also released.
  451.  
  452. RELEASE WINDOWS [<window name list>] deactivates the specified windows,
  453. restores any text obscured by the windows, and releases the window
  454. definition from memory.
  455.  
  456. REPLACE <field name> WITH <exp>[,<field name> WITH <exp>...][<scope>]
  457. [WHILE]<condition>][FOR<condition>][ADDITIVE} will now automatically
  458. convert between character strings and meno fields and vice versa.  In
  459. addition, the ADDITIVE clause may now be used with replace to build
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477. up a memo field from several character strings.
  478.  
  479. REPORTING FORM <report form file name>/?[PLAIN][READING<expC>]
  480. [NOEJECT][SUMMARY][<scope>][FOR <condition>][TO PRINTER/TO FILE <file
  481. name>] now supports the TO FILE<file name> option which directs report
  482. output to the named text file.
  483.  
  484. RESET [IN ALIAS <alias name>] resets the integrity (transaction in
  485. progress) flag in the specified database header.
  486.  
  487. RESTORE MACROS FROM <macro file> retrieves the macros contained in the
  488. specified macro file.
  489.  
  490. RESTORE WINDOW <window name list>/ALL FROM<window file> restores either
  491. all or the specified window definitions previously saved with the SAVE
  492. WINDOW command.
  493.  
  494. RETURN [TO MASTER] [<exp>] has been enhanced to return an expression when
  495. used in a user defined function.
  496.  
  497. ROLLBACK [<database file name>} attempts to restore each database and
  498. index file involved in the current transactionto its state prior to the
  499. inition of the current transaction.
  500.  
  501. SAVE MACROS TO <macro file> will save any defined macros to the specified
  502. macro file.  If no file extension is given, the file is given the default
  503. .mcr extension.
  504.  
  505. SAVE WINDOW <window name list>/ALL TO <window file> saves either ALL or
  506. the named window definitions to the specified window file.  If no file
  507. extension is given, the file is given the default .win extension.
  508.  
  509. SCAN [<scope>][FOR<condition>][WHILE<condition>][<commands>][EXIT]
  510. [LOOP]ENDSCAN establishes a loop to process database records meeting the
  511. specified condition.  SCAN/ENDSCAN is similar to DO WHILE/ENDO, but
  512. affords more flexibility in programming and offers cleaner syntax.  (See
  513. also ENDSCAN for more information.)
  514.  
  515. SHOW MENU <menu name>[PAD <pad name>] displays a previously defined
  516. horizontal bar menu on the screen without activating it.  (See also:
  517. DEFINE BAR and DEFINE MENU.)
  518.  
  519. SHOW POPUP <popup name> displays the previously defined pop-up menu on the
  520. screen without activating it.
  521.  
  522. SKIP [<expn>][IN<alias name>] has been enhanced to move the record pointer
  523. in a work area other than one currently selected.
  524.  
  525. SORT {<scope>]TO<new file name>ON<field name>[/A][/C][/D][,<field 2>[/A]
  526. [/C][/D]...] WHILE<condition>][FOR <condition>][ASCENDING/DESCENDING]now
  527. supports both ASCENDING and DESCENDING options.
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543. SUM [<expN list>][<scope>][FOR<condition>][WHILE<condition>]
  544. [TO<memvar list>/TO ARRAY<array name>[ON<field>]] replaces the values of
  545. one or more memory variables or array elements in an existing array with
  546. the computed sums of the specified database elements.
  547.  
  548. TYPE <file name>[TO PRINTER][NUMBER] has a new option to insert line
  549. numbers in a displayed or printed file.  A page heading showing the file
  550. name, date and page number is automatically included unless SET HEADING is
  551. OFF.
  552.  
  553. UNLOCK [ALL][IN<alias name>] has been enhamced to release record or file
  554. locks in a work area other than one currently selected.
  555.  
  556. USE [<DBF name>/?][IN<waexpN>][INDEX<NDXfile 1>/<MDXfile 1>[,<NDXfile
  557. 2/MDXfile>...]][ORDER<NDXtag>/<MDXtag>[OF<MDX name>]]] [ALIAS<alias name>]
  558. [NOLOG] has been enhanced to support ,mdx files and allow databases to be
  559. opened in a work area other than the one currently selected.  USE also has
  560. a new ORDER option which allows the master or controlling index to be
  561. specified when the database is opened.  If the NOLOG option is specified,
  562. the USEd file is exempted from transaction processing.
  563.  
  564. End of Article.  November 2, 1988
  565.   
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.