home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / a / db2.arc / DBASEMSG.TXT < prev    next >
Encoding:
Text File  |  1989-09-27  |  49.0 KB  |  1,282 lines

  1. *DBASE 
  2.                    HELP TEXT FILE DBASEMSG.TXT 
  3.                  VERSION 1.17 FOR dBASE II v2.41
  4.                    Copyright 1984 Ashton-Tate 
  5.      Written by Wayne Ratliff, Jim Taylor, and Howard Dickler
  6.  
  7.                         INTRODUCTION
  8.  
  9. This   entry  is intended to give you on-line  information  about 
  10. your dBASE  II Database Management System.  It explains the  disk 
  11. files you have  received,  and gives  suggestions on tapping  the  
  12. power now available to you for data management. Using the on-line 
  13. HELP in conjunction with your Manual,  you will soon be  creating  
  14. databases and writing command procedures to do your work. 
  15.  
  16.  
  17.           >>>>>>> type any key to continue <<<<<<<
  18.  
  19.  
  20.  
  21.  
  22.                 HOW TO USE THE 'HELP' FACILITY
  23.  
  24. Information   about  your  dBASE II  system can  be  obtained  by 
  25. typing HELP and the name of a dBASE II command or HELP and any of 
  26. the following key words. 
  27.  
  28.           FULL SCREEN     LIMITS       NEW          VIDEO 
  29.           ERRORS          FUNCTIONS    DBASE 
  30.           GLOSSARY        HELP         INSTALL      RUNTIME   
  31.  
  32. >Note: Entire key words need not be entered.
  33.  
  34. dBASE  will  then look up the entry  for the key word and display 
  35. it. If there is no information on the subject then dBASE will say 
  36. "NO HELP MESSAGES FOUND".   When there  is  more text to  display  
  37. beyond  what's shown,  then you will see the word WAITING   (like 
  38. this).
  39.  
  40.  
  41.           >>>>>>> type any key to continue <<<<<<<
  42.  
  43. The  essential  dBASE II files  on  this disk are:
  44.  
  45. DBASE.COM    -- main system program file
  46. DBASEOVR.COM -- all overlays and  system messages
  47. DBASEMSG.TXT -- this HELP file (only necessary if you use HELP)
  48. INSTALL.COM  -- terminal  installation  program  (not  necessary 
  49.                 after terminal is installed).
  50.  
  51. *EXIT
  52. *FULL SCREEN
  53.        FULL-SCREEN CURSOR MOVEMENT CODES -- ALL COMMANDS
  54.  
  55. ctrl-X moves cursor DOWN to the next field (also ctrl-F)
  56. ctrl-E moves cursor UP to the previous field (also ctrl-A)
  57. ctrl-D moves cursor AHEAD one character
  58. ctrl-S moves cursor BACK one character
  59. ctrl-G deletes character under cursor
  60. <Rubout> or <DEL> deletes character to left of cursor
  61. ctrl-Y blanks out current field to right of cursor
  62. ctrl-V toggles between overwrite and INSERT modes
  63. ctrl-W save changes and returns to "." prompt
  64.  
  65.                     IN EDIT MODE
  66.  
  67. ctrl-U toggles the record DELETE mark on and off
  68. ctrl-C writes current record to disk and ADVANCES to next record
  69. ctrl-R writes current record to disk and BACKS to previous record
  70. ctrl-Q ignores changes to current record and returns to "." prompt
  71. ctrl-W writes all changes to disk and returns to "." prompt
  72.  
  73.                    IN BROWSE MODE
  74.  
  75. ctrl-B pans the window RIGHT one field
  76. ctrl-Z pans the window LEFT one field
  77.  
  78.                    IN MODIFY MODE
  79.  
  80. ctrl-T DELETES current line, moves all lower lines up
  81. ctrl-N INSERTS new line at cursor position
  82. ctrl-C scrolls down a half page
  83. ctrl-W writes all changes to disk and returns to "." prompt
  84. ctrl-Q ignores all changes and returns
  85.  
  86.                    IN APPEND MODE
  87.  
  88. <enter> terminates APPEND when cursor is in first position of 
  89.         first field 
  90. ctrl-W writes record to disk and  moves to next record
  91. ctrl-Q ignores current record and returns to "." prompt
  92.  
  93.      CONTROL KEY STROKES OPERABLE WHEN NOT IN FULL SCREEN
  94.  
  95. ctrl-P toggles your printer ON and OFF
  96. ctrl-R repeats last executed command
  97. ctrl-X clears the command line without executing command
  98. ctrl-H backspace
  99. ctrl-M emulates a carriage return
  100. ctrl-S starts/stops CPU operation 
  101. *VIDEO
  102. Your KAYPRO has a variety of video attributes including reverse 
  103. and half intensity, blinking, underlining and cursor off.  In-
  104. structions for using these are found in you User's Manual.  In
  105. the meantime, we've included two examples of the possibilities
  106. with your dBASE II system.  One program, REV-ON will turn on
  107. half-intensity reverse video and the other, REV-OFF, turns it
  108. off.  To use, type:
  109.  
  110.                     . DO REV-ON  
  111.                           or
  112.                     . DO REV-OFF
  113.  
  114. at the dBASE II (.) prompt.
  115. *EXIT     
  116. *INSTALL
  117. In  order to use dBASE II's Full-screen  editing  facility,  your 
  118. terminal must be properly installed.  Many dBASE formats are pre-
  119. installed.  If  yours is not your screen will appear jumbled when 
  120. you  attempt to perform such full screen operations as APPEND  or 
  121. EDIT.  To correct this you must install dBASE II by  running  the 
  122. dBASE  II installation  program,  INSTALL.COM,  called from  your 
  123. system as INSTALL.  Since you may diagnose your terminal's status 
  124. at  any time by running STARTUP.PRG (called from the dBASE II "." 
  125. prompt by entering the command DO STARTUP),  you would be wise to 
  126. use it before attempting to INSTALL dBASE II.   It will tell  you 
  127. if  you  need to run the installation program,  and can  be  used 
  128. later to check the results if you do.
  129. *EXIT
  130. *NEW
  131. > New commands and changes to dBASE II  
  132.  
  133. New commands:
  134.  
  135. HELP -- user aid command.
  136. REINDEX -- realigns and updates existing index file.
  137. SET F<n>  -- sets value of function key on  IBM  PC,  Victor,  TI 
  138.     Professional, and IBM PC compatible terminals. 
  139. SET COLOR -- alters display color on terminals listed above.
  140. TEXT -- displays multiple lines of text, terminated by ENDTEXT.
  141. RANK(  ) -- function returns ASCII value of first character.
  142. TEST(  ) -- function determines validity of <exp>
  143.  
  144. Supplemented Commands:
  145.  
  146. APPEND,INSERT,EDIT,CREATE -- can now use a format file for screen 
  147.     control.
  148. BROWSE  -- can now be given a list of fields to work with.
  149. DISPLAY  STATUS  -- shows  databases and indexes in use  and  SET 
  150.     settings.
  151. READ  & REPLACE -- can be directed not to perform  disk  accesses 
  152.     when non-key data is changed.
  153. RELEASE  -- can now release subsets of memory variables.
  154. RESTORE -- can restore additively to existing memory variables.
  155. SAVE  -- can now save subsets of memory variables.
  156. SET RAW ON -- eliminates extra spaces in DISPLAY and ? commands.
  157. UPDATE -- replace clause can now include WITH phrases.
  158. *EXIT
  159. *GLOSSARY
  160.                    dBASE II TERMINOLOGY
  161.  
  162. <commands> or <statements> - any valid dBASE command or function.
  163.  
  164. <cstring>  -- character  string(s).   In most instances  must  be 
  165.      delimited  with single quotes (''),  double quotes (""),  or 
  166.      brackets ([]).
  167.  
  168. <cstring  exp> -- an <exp> whose content is defined as  Character 
  169.      in type.   May be a cstring,  a memvar or field of type C or 
  170.      any  combination of these items concatenated with the  dBASE 
  171.      operators.
  172.  
  173. <delimiter>  -- any non-alphanumeric character used to  demarcate 
  174.      data, e.g., single quotes (''), double quotes (""), brackets 
  175.      ([]), colons (::), commas (,,), etc. 
  176.  
  177. <exp> or <expression> -- an item or group of items and  operators 
  178.      whose value can be determined by dBASE. <exp>s may be defin-
  179.      ed as C,N, or L depending on the "type" of data they contain.
  180. <exp list> -- a list of expressions delimited with commas.
  181.  
  182. <field> -- a record field name.
  183.  
  184. <field list> -- a list of field names delimited with commas.
  185.  
  186. <file> -- name of file you wish to create or access.
  187.  
  188. <index file> -- name of index file you wish to create or access.
  189.  
  190. <key>  -- list of field(s) or portion(s) thereof used  to  create 
  191.      index files or sorted databases.
  192.  
  193. <memvar> -- the name of a memory variable.
  194.  
  195. <memvar list> -- list of memory variables delimited with commas.
  196.  
  197. <n> -- a number which dBASE regards as a literal value.
  198.  
  199. <numeric exp> -- an <exp> whose content is defined as Numeric.
  200.  
  201. <scope>  -- command option specifies range of records dBASE  must 
  202.      treat  in  executing command.   <scope> has  three  possible 
  203.      values:  ALL records in file;  NEXT <n> records in file; and 
  204.      RECORD <n>.  Default value varies from command to command.
  205.  
  206. <skeleton>  -- allows  batch manipulation of files of  same  type 
  207.      and/or  with matching characters in filename using operating 
  208.      system "wild cards," ? and *. Also allows batch manipulation 
  209.      of groups of <memvars> with matching characters in name.
  210.  
  211. <variable> -- the name of a database field or <memvar>.
  212. *EXIT
  213. *?
  214. *??
  215. > ? -- Evaluates  and  displays  the value of an  expression.  In  
  216.      command files (and elsewhere) can be used without expression 
  217.      to space down a line at output.
  218.       
  219.                    . ? 6/3
  220.                      2
  221.                    . ? 'CITY'
  222.                      CITY
  223.                    . ? CITY (field of file in use)
  224.                      Managua
  225.  
  226. > ?? -- Same as ?, but displays result on same line as entry.
  227. *EXIT
  228. *@
  229. > @ -- Displays user formatted data on screen or printer at spec-
  230.        ified x,y coordinates (x=line,y=column).
  231.  
  232. Syntax:
  233.  
  234.   @ <coords> [SAY <exp> [USING '<picture>']] [GET <variable> 
  235.        [PICTURE '<picture>']]
  236.  
  237. Examples:
  238.  
  239.   @ 3,23 SAY AMOUNT * 1.06 USING '$$$,$$$.99'
  240.  
  241.   @ 14,23 SAY "ENTER PHONE" GET PHONE PICTURE '(###)###-####'
  242.  
  243.   @ LINE+2,45 SAY TOTAL USING '99999.99'
  244. *EXIT
  245. *ACCEPT
  246. >  ACCEPT  -- Prompts user to enter character string  information 
  247.               into a designated memory variable. 
  248.  
  249.    Syntax: ACCEPT ['<prompt cstring>'] TO <memvar>
  250.  
  251.    Example:. ACCEPT "What is your name?" to NAME
  252.              What is your name?: [user's response stored to SIN]
  253.            . ? NAME
  254.              [user's response displayed]  
  255. *EXIT
  256. *APPEND
  257. > APPEND FROM <file> [FOR <exp>]  or  APPEND  FROM  <file>  [SDF]
  258.      [DELIMITED] [FOR <exp>] -- appends data  FROM  a database or 
  259.      file  in  System  Data Format file to the database  in  use. 
  260.      Records  marked  for  deletion in FROM <file>  will  not  be 
  261.      appended. 
  262.  
  263.      e.g., APPEND FROM MAILLIST FOR NAME='N' 
  264.            APPEND FROM TEST.TXT DELIMITED 
  265.  
  266. > APPEND BLANK -- appends a blank record to file in use.
  267.  
  268. > APPEND -- allows user to add new records to  database  in  use. 
  269.      (If  index is also in use,  the index file is  automatically 
  270.      updated).    
  271. *EXIT
  272. *BROWSE
  273. > BROWSE [FIELDS <field list>] -- Brings up  Full-screen  viewing 
  274.      and editing of the database in use. 
  275. *EXIT
  276. *CANCEL
  277. > CANCEL -- In a command file,  stops command file execution  and 
  278.      returns user to dBASE "." prompt.  
  279.  
  280.      Command file fragment:
  281.             
  282.         ACCEPT "What should this humble machine do next?" to NEXT
  283.         IF NEXT = 'Q'
  284.            CANCEL 
  285.         ENDIF                
  286. *EXIT
  287. *CHANGE
  288. > CHANGE -- Permits Non-Full-Screen editing of database in use by 
  289.             field. Hit ESCape key to terminate CHANGE mode.
  290.  
  291.   Syntax:  CHANGE [<scope>] FIELD <list> [FOR <exp>]
  292.  
  293.   Example: CHANGE ALL FIELD ZIP FOR ZIP = '90045'
  294.            RECORD: 00001
  295.            ZIP: 90045
  296.            CHANGE? 
  297.   (Enter  the characters to be changed and hit  return.  Add  new 
  298.   data at the TO prompt, or hit return to go to the  next  appro-
  299.   priate record.)      
  300. *EXIT
  301. *CLEAR
  302. > CLEAR -- closes all database in use, releases all memory  vari-
  303.            ables, and Selects Primary work area. 
  304.  
  305. > CLEAR GETS -- commands dBASE to forget all GET statements still 
  306.            active without erasing the screen. 
  307. *EXIT
  308. *COPY
  309. > COPY  -- Copies the database in use or only  its  structure  TO 
  310.       another file. COPY will create the TO <file> if it does not 
  311.       yet  exist,  but  will destroy an already existing file  of 
  312.       that  name.   Will  not copy records marked  for  deletion. 
  313.  
  314.   Command has three forms: 
  315.                
  316.   COPY TO <file> [<scope>] [FIELD <list>] [FOR <exp>]
  317.   COPY TO <file> [SDF] [DELIMITED [WITH <delimiter>]] [FOR <exp>]
  318.   COPY TO <file> STRUCTURE [FIELD <list>]
  319.  
  320. >  COPY  TO  <file> STRUCTURE EXTENDED -- special  form  of  COPY 
  321.       creates  database whose records represent the structure  of 
  322.       file in use.
  323. *EXIT
  324. *COUNT
  325. > COUNT -- Counts the number of records in database in use  which 
  326.            satisfy specified criteria. Default value is COUNT all 
  327.            records.
  328.  
  329.   Syntax:  COUNT [scope] [FOR <exp>] [TO <memvar>]
  330.  
  331.   Example: COUNT NEXT 25 FOR GRADE > 'B-' TO DEANLST 
  332. *EXIT
  333. *CREATE
  334. >  CREATE [<filename>] -- Creates a new database.  User  will  be 
  335.           prompted for file structure.
  336.  
  337. >  CREATE <newfile> FROM <oldfile> EXTENDED --  creates  database 
  338.           whose structure is determined by the data contained  in 
  339.           the  records  of <oldfile>.  (Used with COPY  STRUCTURE 
  340.           EXTENDED.)
  341. *EXIT
  342. *DELETE
  343. > DELETE FILE <file> -- deletes specified file.
  344.        
  345. > DELETE [<scope>] [FOR <exp>] -- marks record(s)  for  deletion. 
  346.          Records  marked for deletion (with *) will not be erased 
  347.          until  the PACK command is given.   Records may also  be 
  348.          marked for deletion by record number.
  349.  
  350.          Examples: DELETE ALL FOR COMPANY = 'ZMB'
  351.                    DELETE RECORD 15
  352. *EXIT
  353. *DISPLAY
  354. > DISPLAY  FILES [ON <disk drive>]  [LIKE  <skeleton>]  -- lists 
  355.      files on drive. For example, DISPLAY FILES ON B LIKE *.MEM.
  356.  
  357. > DISPLAY [<scope>][<field list>][FOR<exp list>][OFF] -- displays 
  358.      records of file in use.  
  359.  
  360. > DISPLAY STRUCTURE -- displays field names,  types, lengths, and 
  361.      decimals (structure) of file in use.
  362.  
  363. > DISPLAY MEMORY -- display names,types, and values of  all  cur-
  364.      rently defined memory variables.
  365.  
  366. > DISPLAY STATUS -- lists databases in use,  system date, indexes 
  367.      in use, and current parameters SET.
  368. *EXIT
  369. *DO
  370. *ENDCASE
  371. *ENDDO
  372. *LOOP
  373. > DO <file> -- opens and executes specified command file.
  374.  
  375. > DO WHILE <exp> -- used in command files to  open  a  structured 
  376.      loop.  Commands  in  between are executed so long as the  DO        
  377.      WHILE <exp> is found to be true.
  378.        
  379.   Syntax: DO WHILE <exp>      Example: USE MAILLIST
  380.              <commands>                DO WHILE .NOT. EOF
  381.           [LOOP]                          ? NAME
  382.              <commands>                   ? PHONE
  383.           ENDDO                           SKIP
  384.                                           ENDDO
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393. >  LOOP -- causes command file to jump processing back to the  DO 
  394.      WHILE command. 
  395.  
  396.            Example:  USE MAILLIST
  397.                      DO WHILE .NOT. EOF
  398.                         IF ZIP = '90005'
  399.                            SKIP
  400.                            LOOP
  401.                          ENDIF 
  402.                            ? NAME
  403.                            ? PHONE
  404.                            SKIP
  405.                       ENDDO
  406.  
  407. *CASE
  408. > DO CASE -- used in command file to choose one and only  one  of 
  409.      several possible execution paths. OTHERWISE clause optional, 
  410.      and  executes  when no CASE is true.  ENDCASE is  needed  to 
  411.      close command.
  412.       
  413.      Example: USE MAILLIST
  414.               ACCEPT "WHICH MENU OPTION DO YOU PREFER?" to Choice
  415.               DO CASE                           
  416.                  CASE Choice = '1'
  417.                       DO Clabels 
  418.                  CASE Choice = '2'
  419.                       DO Cappend   
  420.                  CASE Choice = '3'
  421.                       DO Cedit            
  422.                  OTHERWISE
  423.                       Return 
  424.               ENDCASE
  425. *EXIT
  426. *EDIT
  427. > EDIT [<record number>] -- enables selective editing of database 
  428.        in  use by record number.  Requests record number  if  not 
  429.        supplied.  When edit of particular record  has  been  com-
  430.        pleted,  ctrl-W  brings back EDIT's record number   prompt 
  431.        (ENTER  RECORD #:).   To  terminate  EDIT   mode,   answer 
  432.        record number query with a return.
  433. *EXIT
  434. *EJECT
  435. > EJECT -- causes printer to do a form feed (page eject) if PRINT 
  436.        is  SET  ON or FORMAT is SET TO PRINT.   When using @  SAY 
  437.        commands for direct page formatting,  EJECT will zero  out 
  438.        line and column counters. 
  439. *EXIT
  440. *ERASE
  441. >  ERASE -- clears the screen.   In interactive mode,  "." prompt 
  442.        will  appear at top left corner of screen.
  443. *EXIT
  444. *FIND
  445. > FIND <cstring> -- when using indexed files,  positions to first 
  446.        record indexed by <cstring>.
  447. *EXIT
  448. *GO
  449. *GOTO
  450. >  GO or GOTO -- positions to a specific record or place  in  the 
  451.        database in use. Also positions to record number contained 
  452.        in memory  variable.
  453.  
  454.   Syntax: GO or GOTO [RECORD <n>],<n>,[TOP],[BOTTOM], or <memvar>
  455. *EXIT
  456. *HELP
  457.                dBASE II ON-LINE HELP FACILITY
  458.  
  459. Below  you will find a list of all dBASE commands.  Each entry in 
  460. this  list corresponds to an entry in the HELP file  proper.   In 
  461. the  latter,  you will find a brief synopsis of each  command  as 
  462. well  as  a  picture of that command's  correct  syntax.   Please 
  463. remember,  however, that HELP file information is limited, and is 
  464. only  meant to cut down on the number of trips you will  have  to 
  465. make to the dBASE II Manual.  
  466.  
  467. To  access  the entry for the dBASE command (or other  Help  File 
  468. entry)  you  wish  to review,  simply respond to  the  dBASE  "." 
  469. prompt by entering HELP <name of command> and a return (e.g. HELP 
  470. CREATE <cr>). dBASE will access  the information you wish to see, 
  471. and  then return you to the  "." prompt so you can go right  back 
  472. to work.  In some cases the entry will take up more space than is 
  473. provided by a single screen.  (This is one of them.)  To bring up 
  474. the next screen of information,  just hit any console  character: 
  475. this  will tell dBASE to stop "WAITING." 
  476.  
  477. If you wish to exit the HELP file before viewing an entire entry, 
  478. simply hit ESCape.
  479.  
  480.           >>>> Type 'HELP dBASE' for other <<<<<<
  481.             >>>>> important information <<<<<
  482.  
  483. > ? -- displays an expression, variable, or field. 
  484. > ??  --  displays an expression list without a  preceeding  line 
  485.     feed. 
  486. > @ -- displays user formatted data on screen or printer.
  487. > ACCEPT -- allows input of character strings into memory vari-
  488.        ables.
  489. > APPEND -- append information from  another dBASE II database or 
  490.        files in Delimited or System Data format. 
  491. > BROWSE -- full screen window viewing and editing of database.
  492. > CANCEL -- cancels command file execution.
  493. > CHANGE -- Non-Full-Screen edit of fields of database. 
  494. > CLEAR -- closes databases in  use and releases  current  memory 
  495.        variables.
  496. > CONTINUE -- continue the searching action of a LOCATE command.
  497. > COPY -- creates a copy of an existing database. 
  498. > COUNT -- counts the number of records in file which  meet  some 
  499.        criteria.
  500. > CREATE -- creates new database.
  501. > DELETE -- deletes a file or marks records for deletion.
  502. > DISPLAY -- display files, database records or structure, memory 
  503.        variables, or status. 
  504. > DO -- executes command files or structured loops in same.
  505. > EDIT -- initiates edit of records in a database.
  506. > EJECT -- ejects a page on the printer.
  507. > ELSE -- alternate path of command execution within IF.
  508. > ENDCASE -- terminates a CASE command.
  509. > ENDDO -- terminates DO WHILE command.
  510. > ENDIF -- terminates an IF command.
  511. > ENDTEXT -- terminates a TEXT command.
  512. > ERASE -- clears the screen.
  513. > FIND -- positions to record corresponding to key in index file.
  514. > GO or GOTO -- positions to specific record or place in file.
  515. > HELP -- access help file overview or specific help file entry. 
  516. > IF -- allows conditional execution of commands.
  517. > INDEX -- creates an index file.
  518. > INPUT -- allows input of expressions into memory variables.
  519. > INSERT -- insert new record in database.
  520. > JOIN -- joins output of two databases.
  521. > LIST  -- lists files,  database records  or  structure,  memory 
  522.        variables, and status.
  523. > LOCATE -- find a record that fits a condition.
  524. > LOOP -- skips to beginning of DO WHILE command.
  525. > MODIFY -- create and/or edit command file or  modify  structure 
  526.        of existing database.
  527. > NOTE or * -- allows insertion of comments in command file. 
  528. > PACK -- erases records marked for deletion.
  529. > QUIT -- exits dBASE and returns to operating system.
  530. > READ  -- initiates full-screen editing of formatted  screen  by 
  531.        accepting input into variables accessed with @ GET. 
  532. > RECALL -- erases mark for deletion.
  533. > REINDEX -- update existing index file.
  534. > RELEASE -- eliminates unwanted memory  variables  and  releases 
  535.        memory space.
  536. > REMARK -- permits display of any characters.
  537. > RENAME -- rename a file.
  538. > REPLACE -- change information in record(s) or  entire  database 
  539.        field by field.
  540. > REPORT -- format and display a report of information.
  541. > RESET - reset operating system after placing new disk in drive.
  542. > RESTORE -- retrieves memory variables stored in MEM file.
  543. > RETURN -- ends a command file.
  544. > SAVE -- copies current memory variables to disk file. 
  545. > SELECT -- switches between USE files in PRIMARY  and  SECONDARY 
  546.        areas.
  547. > SET -- sets dBASE control parameters.
  548. > SKIP -- position forwards or backwards in database.
  549. > SORT - write copy of database sorted on one of the data fields.
  550. > STORE -- creates memory variables.
  551. > SUM -- compute and display the sum of database field(s).
  552. > TEXT -- allows output of block of text from a command file.
  553. > TOTAL -- creates summary copy of database combining information 
  554.        from specified fields of records meeting some criteria.
  555. > UPDATE -- allows batch updates of a database.
  556.  
  557. > USE -- specifies  database to USE until  next  USE  command  is 
  558.        issued.
  559. > WAIT  -- suspends  command file  processing  until  user  input 
  560.        received.
  561.  
  562.                  >>>>> Other key words <<<<<
  563.  
  564.                  (e.g. type 'HELP RUNTIME' )
  565.  
  566.         FULL SCREEN        NEW            ERRORS
  567.         GLOSSARY           FUNCTIONS      INSTALL
  568.         DBASE              LIMITS         RUNTIME
  569. *EXIT
  570. *IF
  571. *ELSE
  572. *ENDIF
  573. > IF -- in command file, IF structure permits conditional exe-
  574.         cution of commands. ELSE clause is optional.
  575.  
  576.   Syntax: IF <exp>             Example: IF STATE = 'CA'   
  577.              <any statements>              DO INSTATE (CMD file)
  578.           [ELSE                         ELSE 
  579.              <any statements>]             DO OUTSTATE (CMD file)
  580.           ENDIF                         ENDIF 
  581. *EXIT
  582. *INDEX
  583. > INDEX  ON <exp> TO <index file> -- creates an  index  file  for 
  584.      database in use based upon content of field(s) or portion(s) 
  585.      of field(s) specified by the <exp> or index <key>. 
  586. *EXIT
  587. *INPUT
  588. > INPUT ["<cstring prompt>"] TO <memvar> -- prompts user to enter 
  589.         numeric or logical information into the designated memory 
  590.         variable.  
  591.         
  592.         Example: INPUT 'Prompt user for input' TO X
  593.                  Prompt user for input: 12 <cr>                     
  594.                  [user input, 12, stored to X]
  595.                  . ? X
  596.                  12
  597. *EXIT
  598. *INSERT
  599. > INSERT [[BEFORE] [BLANK]] -- inserts a record into the database 
  600.        in  use immediately after or -- with BEFORE -- before  the 
  601.        current  record.   Presents  user  with data entry  format 
  602.        for use file unless BLANK record is requested.  
  603. *EXIT
  604. *JOIN
  605. > JOIN  -- creates a new database by  combining  the  records  of 
  606.        files in use in Primary and Secondary areas.   Records are 
  607.        added where FOR <exp> evaluates as True.   Command must be 
  608.        executed from primary area. Default value for FIELD <list> 
  609.        is ALL.
  610.  
  611.        Syntax: JOIN TO <file> FOR <exp> [FIELDS <field list>]
  612.  
  613.        Example: . USE NAMES
  614.                 . SELECT SECONDARY
  615.                 . USE MAILLIST
  616.                 . SELECT PRIMARY
  617.                 . JOIN TO NAMEJ FOR LAST <> S.LAST  
  618. *EXIT
  619. *LIST
  620. > LIST FILES [ON <disk drive>] [LIKE  <skeleton>]  --  lists  all 
  621.        files on designated disk.  Default to logged disk.
  622.        Example: LIST FILES ON C LIKE *.FRM
  623.  
  624. > LIST [<scope>][<field  list>] [FOR <exp list>][OFF] -- displays 
  625.        records of file in use. Default value is ALL records.
  626.        Example: LIST NEXT 25 NAME, PHONE FOR CONTRIB > 100 
  627.        (i.e., NAME and PHONE of next 25 who contributed more than 
  628.        $100.)
  629.     
  630. > LIST STRUCTURE -- displays structure of database in use.
  631.  
  632. > LIST MEMORY -- lists names and values of all currently  defined 
  633.        memory variables.  
  634.  
  635. > LIST STATUS -- lists databases open,  indexes  in  use,  system 
  636.        date, and current parameters SET.
  637. *EXIT
  638. *LOCATE
  639. *CONTINUE
  640. > LOCATE  [<scope>] FOR <exp> -- finds first record  of  database 
  641.        for  which FOR <exp> is True.  Use CONTINUE to  find  next 
  642.        such record.  (User may manipulate record before  resuming 
  643.        search with CONTINUE.) 
  644.  
  645.        . LOCATE ALL FOR ZIP >= '95000' .AND. ZIP < '96000'
  646.        RECORD: 00123
  647.        . DISPLAY
  648.        . CONTINUE
  649.        RECORD: 00232    
  650. *EXIT
  651. *MODIFY
  652. >  MODIFY  STRUCTURE  -- allows user to alter  the  structure  of 
  653.        database in use. This command will destroy all data in the 
  654.        file in use. (To alter structure without loss of data, use 
  655.        COPY STRUCTURE, USE, and APPEND as illustrated below.)
  656.  
  657.         . USE NAMES
  658.         . COPY STRUCTURE TO TEMP
  659.         . USE TEMP
  660.         . MODIFY STRUCTURE -- no data lost since file is empty
  661.         . APPEND FROM NAMES -- brings data into modified database
  662.         . DELETE FILE NAMES
  663.         . USE -- close TEMP in order to:     
  664.         . RENAME TEMP TO NAMES
  665.  
  666. >  MODIFY COMMAND <file> -- calls dBASE's text editor and  brings 
  667.        up or creates designated file. Primarily used for creating 
  668.        and editing command (.PRG), text (.TXT), and format (.FMT) 
  669.        files,  but  may be employed as a simple full screen  word 
  670.        processor.
  671. *EXIT
  672. *NOTE
  673. > NOTE or * -- permits the insertion of comments into  a  command 
  674.        file.  Comments  following NOTE or * will not be read when 
  675.        file is executed.
  676. *EXIT
  677. *PACK
  678. > PACK -- erases records marked for deletion in database in  use.  
  679.        If  index  files are in use,  they will  be  automatically 
  680.        updated.
  681. *EXIT
  682. *QUIT
  683. > QUIT  [TO  <com file list>] --  terminates  dBASE  and  returns 
  684.        control  to operating system.   Optionally calls  programs 
  685.        from system level. 
  686. *EXIT
  687. *READ
  688. > READ  -- initiates  full-screen mode for entry  or  editing  of 
  689.        variables.  The Full-screen prompts and window are created 
  690.        by @ SAY commands with GET phrases.
  691.             
  692.        Command file fragment:
  693.  
  694.              STORE '          ' TO name
  695.              STORE '          ' TO phone
  696.              @ 4,4 SAY 'Name' GET name
  697.              @ 6,4 SAY 'Phone' GET phone PICTURE '(###)###-####' 
  698.              READ
  699. *EXIT
  700. *RECALL
  701. > RECALL [<scope>] [FOR <exp>] -- reinstates record(s) marked for 
  702.        deletion within use file. Default value is current record.  
  703. *EXIT
  704. *REINDEX
  705. > REINDEX  -- allows  update of  index  files  not  automatically 
  706.        'reindexed' after alteration of database file. 
  707.  
  708.        Example: . USE MAILLIST INDEX INDEXA
  709.                 . APPEND
  710.                 [append operations performed] 
  711.                 . SET INDEX TO INDEXB,INDEXC 
  712.                 . REINDEX
  713. *EXIT
  714. *RELEASE
  715. >  RELEASE -- erases unwanted memory variables and  opens  memory 
  716.        space  for further use.  (<skeleton> uses ?  to  mask  any 
  717.        single character, * to mask all remaining characters.  
  718.  
  719.        Syntax: RELEASE [<memvar list>], or [ALL]
  720.                RELEASE ALL LIKE <skeleton>
  721.                RELEASE ALL EXCEPT <skeleton>
  722.                   
  723.        Examples (where N, N1, N2, N10, V7 are variables in use):
  724.  
  725.                RELEASE ALL LIKE N?  [N10 and V7 will remain] 
  726.                RELEASE ALL LIKE N?? [V7 will remain]
  727.                RELEASE ALL EXCEPT ?1* [N1 and N10 will remain]
  728. *EXIT
  729. *REMARK
  730. > REMARK  -- permits the display of any  characters.  In  command 
  731.        file character entry is output.
  732.  
  733.        Example: . REMARK abracadabara!!!
  734.                 abracadabara!!!        
  735. *EXIT
  736. *RENAME
  737. > RENAME  <file> TO  <new filename> -- renaming of  file  in  DOS 
  738.        directory.  Unless otherwise indicated, dBASE assumes that 
  739.        file type is DBF.  
  740.                    
  741.        Example: . RENAME REVIEW.FRM TO REVIEW2.FRM
  742. *EXIT
  743. *REPLACE
  744. > REPLACE -- allows user to replace contents of specified  fields 
  745.      of database in use. If index file is keyed on field targeted 
  746.      for  update,  index  in use will be  automatically  updated.  
  747.      Default <scope> is current record.             
  748.  
  749.   Syntax: REPLACE [<scope>] <field> WITH <exp> [,<field2> WITH 
  750.                          <exp2>][FOR <exp>]
  751.  
  752.   Example: . USE MXPROJ
  753.            . REPLACE ALL COST WITH COST * 6.1 FOR ITEM = 'ELEC' 
  754. *EXIT
  755. *REPORT
  756. > REPORT -- used for creating a Report Form File (FRM) for  dis-
  757.       playing  specified information from a database in a  user-
  758.       defined format.  Outputs results to screen or printed page. 
  759.  
  760.       Syntax: REPORT [FORM <form file>] [<scope>][TO PRINT] 
  761.                        [FOR <exp>] [PLAIN]
  762. *EXIT
  763. *RESET
  764. > RESET [<drive>] -- use this command after changing disks on any 
  765.        drive other than that containing dBASE. Command resets the 
  766.        DOS  bit  map,  allowing uninterrupted operation of  dBASE 
  767.        program. Close all files before issuing a RESET. 
  768. *EXIT
  769. *RESTORE
  770. > RESTORE FROM <file> [ADDITIVE] -- retrieves and  activates  the 
  771.        set of memory variables previously SAVEd to a memory file. 
  772.        ADDITIVE  allows you to keep currently defined   variables 
  773.        intact; otherwise they are lost. 
  774. *EXIT
  775. *RETURN
  776. > RETURN -- may be used in a command file to  return  control  to 
  777.        the command file which called it or to dBASE "." prompt if 
  778.        user called it.
  779. *EXIT
  780. *SAVE
  781. > SAVE TO <file> [ALL LIKE <skeleton>] or [ALL EXCEPT <skeleton>] 
  782.        -- copies  all memory variables currently in use,  or only 
  783.        those specified by <skeleton>,  to designated memory (MEM) 
  784.        file.  <skeleton> uses ? to mask any single characters and 
  785.        * to mask all remaining characters.
  786.         
  787.  Examples (where N1, N2, N10, V1, V2, V10 are current variables):
  788.  
  789.        . SAVE TO NUMBER ALL LIKE N* [saves N1, N2, N10]
  790.        . SAVE TO NUMBER ALL LIKE N? [saves N1, N2]
  791.        . SAVE TO NUMBER ALL EXCEPT ?1* [saves N2, V2]
  792. *EXIT
  793. *SELECT
  794. *PRIMARY
  795. *SECONDARY
  796. > SELECT [PRIMARY / secondary] -- allows user to move between the 
  797.        two  work  areas dBASE provides,  thus permitting user  to 
  798.        work with two databases simultaneously and maintain record 
  799.        pointers in both.  Primary area is active upon bringing up 
  800.        dBASE. 
  801. *EXIT
  802. *SET
  803. > SET -- sets dBASE control parameters.
  804.  
  805.          Syntax: SET <parameter> [ON or OFF]
  806.                  SET <parameter> TO <option>
  807.  
  808. All SET commands are listed below in alphabetic order:  NOTE that 
  809. some SETs are of the (ON/OFF) type,  and others require some user 
  810. option  to  be given.   Default value of ON/OFF SET  commands  is 
  811. indicated by uppercase of ON or OFF in each listing.  
  812.  
  813.       Example: SET BELL [ON/off] - default value is ON.
  814.  
  815. > SET ALTERNATE [OFF/on] -- ON sends all  screen  output  (except 
  816.        full-screen)  to  a disk file.  (Must be preceeded by  SET 
  817.        ALTERNATE  TO <file> command).   OFF shuts off  output  to 
  818.        file.
  819.  
  820. >  SET BELL [ON/off] -- ON rings when invalid data is entered  or 
  821.        data field boundary is passed.  OFF suspends ringing.
  822.  
  823. > SET CARRY [OFF/on] -- ON repeats data in  current  record  from 
  824.        previous record when using APPEND in Full-screen mode. OFF 
  825.        leaves field blank.
  826.  
  827. > SET COLON [ON/off] -- ON displays colons to bound  input  vari-
  828.        ables  when  using  Full-screen  display.    OFF  suspends 
  829.        display of colons.
  830.  
  831. > SET CONFIRM [OFF/on] -- ON disables automatic skipping to  next 
  832.        field  when current field is  filled while in  Full-screen 
  833.        mode.   OFF  requires a wait for <return> before going  to 
  834.        next field.
  835.  
  836. > SET CONSOLE [ON/off] -- ON sends all  output  to  screen.   OFF 
  837.        suspends all output to screen. System will appear dead.
  838.  
  839. > SET DEBUG [OFF/on] -- ON sends output created by ECHO and  STEP 
  840.        options to printer. OFF sends this output to the screen.
  841.  
  842.  
  843. > SET DELETED  [OFF/on] -- ON  disables  dBASE  from  FINDing  or 
  844.        processing  records  marked for deletion with any  command 
  845.        allowing a  <scope>,  e.g.,  LIST,  DISPLAY,  COUNT.   OFF 
  846.        enables dBASE to see all records.
  847.  
  848. > SET ECHO [OFF/on] --  ON  enables  monitoring of  command  file 
  849.        execution by echoing all commands to screen.  OFF sends no 
  850.        report on execution.
  851.  
  852. > SET EJECT [ON/off] -- ON causes REPORT  command  to  perform  a 
  853.        form-feed  (page  eject) before sending report  output  to 
  854.        printer.  OFF disables the page eject.
  855.  
  856. > SET ESCAPE [ON/off] -- ON allows user  to  abort  execution  of 
  857.        command file by hitting ESCape key.   OFF disables ESC key 
  858.        interrupt.
  859.  
  860.  
  861.  
  862.  
  863. > SET EXACT [OFF/on] -- ON requires exact matches in any compari-
  864.        son  of  character strings (in FOR <exp>,  FIND  commands, 
  865.        etc.).   OFF  allows matches between character strings  of 
  866.        different lengths (in this order): 'ABCDEF'= 'ABC'. 
  867.  
  868. >  SET  INTENSITY  [ON/off] -- ON enables inverse video  or  dual 
  869.        intensity in Full-screen operations (if allowed  by  hard-
  870.        ware).  OFF disables these features. 
  871.  
  872. > SET LINKAGE [OFF/on]  -- ON enables movement of record pointers 
  873.        in  both PRIMARY and SECONDARY areas,  by  commands  which 
  874.        allow  a <scope>,  i.e.,  downward  movement   only.   OFF  
  875.        suspends pointer linkage.
  876.  
  877. > SET PRINT [OFF/on] -- ON sends output  to  printer.  OFF  stops 
  878.        printer output.
  879.  
  880. > SET RAW [OFF/on] --  ON  DISPLAYs  and  LISTs  records  without 
  881.        inserting  spaces  between fields;  OFF inserts  an  extra 
  882.        space between fields.
  883. > SET SCREEN [ON/off] -- ON  enables  Full-screen  operation  for 
  884.        APPEND, EDIT, INSERT, READ, and CREATE commands.  
  885.  
  886. > SET STEP [OFF/on] -- ON  aids  debugging  of  command  file  by 
  887.        halting  execution after dBASE performs each command.  OFF 
  888.        does not halt execution.
  889.  
  890. > SET TALK [ON/off] -- ON sends results of command  execution  to 
  891.        screen. OFF suppresses additional screen output.
  892.  
  893. > SET ALTERNATE TO [<file>] -- creates  a  disk  file  with  .TXT 
  894.        extension  for  saving screen  output.  SET  ALTERNATE  TO 
  895.        closes the .TXT file.
  896.  
  897. > SET COLOR TO <n1,n2> -- sets color or CRT attribute of terminal 
  898.        output on IBMPC, Victor, TI Professional, and IBMPC compa-
  899.        tible terminals.  <n1> indicates desired color  or  attri-
  900.        bute  of  dim/reverse video,  <n2> the  desired  color  or 
  901.        attribute of normal display.  For possible <n> values, see 
  902.        "Change Summary."  
  903. > SET DATE TO <xx/xx/xx> -- stores a string to system  date,  but 
  904.        does not perform date validation. 
  905.  
  906. > SET DEFAULT TO <drive> -- makes specified drive the drive where 
  907.        dBASE will look for files when instructed.
  908.  
  909. > SET F<n> TO <'new value'> --  stores 'new value' in  buffer  of 
  910.        function key <n> of IBM PC,  TI Professional,  Victor, and 
  911.        IBM PC compatible terminals.  See "Change Summary" addenda 
  912.        for default values.  
  913.  
  914. > SET FORMAT TO <SCREEN/print> -- SCREEN sends output from @  SAY 
  915.        commands  to  screen.   PRINT  sends formatted  output  to 
  916.        printer. 
  917.  
  918. >  SET FORMAT TO [<format file>] -- opens .FMT file  which  dBASE 
  919.        will use to format screen for READ,  APPEND, EDIT, INSERT,  
  920.        CREATE, @ SAY commands. SET FORMAT TO closes any open .FMT 
  921.        file.
  922.  
  923. > SET HEADING  TO  <cstring> -- saves  <cstring>  internally  and 
  924.        prints it as the Report header line.
  925.  
  926. > SET INDEX TO <index file list> -- sets up index files  for  use 
  927.        with corresponding database.  First .NDX file in list will 
  928.        be engaged as the active index; all other index files will 
  929.        be  automatically  updated to reflect any changes  to  the 
  930.        database.
  931.  
  932. > SET MARGIN TO <n> -- sets left hand margin of  printer  to  <n> 
  933.        columns.
  934. *EXIT
  935. *SKIP
  936. > SKIP [-] [<n>] -- moves record pointer up or down  <n>  records 
  937.        within the use file. Default value is +1.
  938. *EXIT
  939. *SORT
  940. >  SORT ON <field> TO <file> [ASCENDING / descending] -- writes a 
  941.        new  copy of the database in use with all records arranged 
  942.        in order. Uses ASCII value to determine the order  (gener-
  943.        ally Spaces, Numbers, Uppercase, Lowercase, then Symbols).  
  944.        SORT will not copy records marked for  deletion.   Default 
  945.        order is ASCENDING.
  946.  
  947.        Example: . USE MAILLIST
  948.                 . SORT ON ZIP TO MAILZIP DESCENDING    
  949. *EXIT
  950. *STORE
  951. > STORE <exp> TO <memvar> -- takes the value of an expression and 
  952.        stores it to a memory variable.
  953.  
  954.        Example: . STORE 3 to NUMBER
  955.                   3
  956.                 . STORE NUMBER + 9 TO NUMBER2
  957.                   12
  958.                 . STORE 'HOWARD' TO NAME
  959.                   HOWARD
  960.                 . ? NUMBER+NUMBER2, ' ', NAME
  961.                   15   HOWARD      
  962. *EXIT
  963. *SUM
  964. > SUM  -- computes and displays the sums of numeric  field(s)  of  
  965.        database in use.  The <scope> option permits selection  of 
  966.        the range of records to sum; FOR <exp> allows summation on 
  967.        particular criteria; TO <memvar> stores sums to the desig-
  968.        nated  memory variables.  Default value of <scope> is  ALL 
  969.        non-deleted records. 
  970.  
  971.        Syntax: SUM <field> [,<field2>][<scope>][TO <memvar list>]
  972.                               [FOR <exp>]
  973.  
  974.        Examples:
  975.  
  976.  . USE SHOPLIST [fields are ITEM, NUMBER purchased, COST of item]
  977.  . SUM COST * NUMBER FOR ITEM = 'food'
  978.  . SUM NUMBER FOR ITEM = 'hardware' TO HARD
  979.  . SUM NUMBER, NUMBER*COST FOR ITEM = 'hardware' .AND. COST >9.00
  980. *EXIT
  981. *TEXT
  982.  
  983. > TEXT -- in command files, allows the output of text information 
  984.        without  use of the @ SAY or ?  commands.  dBASE will read 
  985.        everything as text until it encounters an ENDTEXT command.
  986. *EXIT
  987. *TOTAL
  988. > TOTAL -- creates a summary version of an indexed or  pre-sorted 
  989.        database  by  copying only records with  a  unique  <key>.  
  990.        Specified  <key> must be key to the index or the key  upon 
  991.        which  database is already sorted.) Records with duplicate 
  992.        keys  are removed.   All records with the same  <key>  can 
  993.        have  their numeric fields totalled in the TO database  by 
  994.        using the FIELDS option.
  995.  
  996.        Syntax: TOTAL TO <file> ON <key> [FIELDS <field list>]
  997. *EXIT
  998. *UPDATE
  999. > UPDATE -- allows batch update of presorted or indexed  database 
  1000.        by  drawing  information  FROM designated  database  (pre-
  1001.        sorted  on same <key>).  Keys of records in USE  and  FROM 
  1002.        databases  are compared for match.  dBASE can then ADD the 
  1003.        numeric  fields  of  the FROM  database  to  corresponding 
  1004.        fields in the USE database.  It can also REPLACE character 
  1005.        or  numeric  fields of USE database with the  contents  of 
  1006.        corresponding fields of the FROM file. 
  1007.  
  1008.    Syntax: UPDATE FROM <file> ON <key> [ADD <field list>][REPLACE
  1009.             <field list> or <field> WITH <field list>][RANDOM]
  1010. *EXIT
  1011. *USE
  1012. > USE <file> [INDEX <index file list>] -- specifies the  database 
  1013.        to be used for all succeeding operations.  USE  automatic-
  1014.        ally  closes previous file in USE.   INDEX option overlays 
  1015.        the  database with an index to give it an apparent  order.  
  1016.        Other indexes named will be kept current.
  1017. *EXIT
  1018. *WAIT
  1019. >  WAIT [TO <memvar>] -- used in command files to  suspend  dBASE 
  1020.        operation  until  keyboard input of  a  single  character.  
  1021.        WAIT  TO <memvar> will automatically store keyboard  input 
  1022.        into a memory variable, and may thus be used to direct the 
  1023.        action of a command file process. 
  1024. *EXIT
  1025. *FUNCTIONS
  1026. > @ --  @(<cstring1>,<cstring2>) -- AT function yields an integer 
  1027.        whose  value  is  the  character   number   in  <cstring2> 
  1028.        which begins a substring identical to <cstring1>.
  1029.  
  1030. > *  -- deleted record function evaluates as a  logical  True  if 
  1031.        current record has been marked for deletion.
  1032.  
  1033. > # -- record number function reports value  of  integer  corres-
  1034.        ponding to current record number. 
  1035.  
  1036. > !  -- !(<cstring>)  -- uppercase function yields  <cstring>  in 
  1037.        uppercase characters.
  1038.  
  1039. > $ -- $(<cstring>,<start>,<length>) -- substring function  forms 
  1040.        a  character  string  from the specified part  of  another 
  1041.        string.
  1042.  
  1043. > CHR -- CHR(<numeric exp>) -- yields the ASCII  character  equi-
  1044.        valent of the <numeric exp>.   e.g.,  ?  CHR(7) rings  the 
  1045.        bell.
  1046. > DATE() -- returns the character string that contains the System 
  1047.        Date in format xx/xx/xx. 
  1048.  
  1049. > EOF -- end-of-file function evaluates as True if an attempt has 
  1050.        been made to go past the last record in a database.  
  1051.  
  1052. > FILE -- FILE(<file>) -- existence function evaluates as a logi-
  1053.        cal  True if <file> exists on the default drive,  and as a 
  1054.        logical False if it does not.
  1055.  
  1056. > INT -- INT (<numeric exp>) -- integer function truncates every-
  1057.        thing to right of decimal to form an integer. 
  1058.  
  1059. > LEN -- LEN(<cstring>) -- length  function returns the number of  
  1060.        characters in <cstring>.  ? LEN('HELLO')
  1061.  
  1062. > RANK -- RANK(<cstring>) -- returns the (ASCII numeric) value of  
  1063.        the  leftmost character of <cstring>.
  1064.  
  1065.  
  1066. > STR -- STR (<numeric exp>,  <width>  [,<decimals>])  --  string 
  1067.        function  converts  a numeric expression into a  character 
  1068.        string.
  1069.  
  1070. > TEST  -- TEST(<exp>) -- used with  ?  and  IF,  test   function 
  1071.        determines if  <exp> is valid and parsable.  A valid <exp> 
  1072.        returns a value # 0; an invalid <exp> a value of 0.
  1073.  
  1074. > TRIM -- TRIM(<cstring>) - trim function removes trailing blanks 
  1075.        from <c-string>.  ? TRIM(FIRST) + ' ' + LAST.
  1076.  
  1077. > TYPE -- TYPE(<exp>) -- function yields a  one-character  string 
  1078.        that  contains  a 'C','N','L',  or 'U' if the <exp> is  of 
  1079.        type Character, Numeric, Logical, or Undefined. 
  1080.  
  1081. > VAL  -- VAL(<cstring>) -- value function converts  a  character 
  1082.        string made of numerals into a numeric expression. 
  1083. *EXIT
  1084. *LIMITS     
  1085.                LIMITATIONS AND CONSTRAINTS
  1086.      number fields/record                   32 max
  1087.      number chars/record                  1000 max
  1088.      number records/database             65535 max
  1089.      number chars/cstring                  254 max
  1090.      accuracy numeric fields             10 digits
  1091.      largest number            1.8 x 10**63 approx
  1092.      smallest number          1.0 x 10**-63 approx
  1093.      number current memvars                 64 max
  1094.      number chars/command line             254 max
  1095.      number <exp>s in SUM command            5 max
  1096.      number chars in REPORT header         254 max
  1097.      number fields in REPORT                24 max
  1098.      number chars in index key              99 max
  1099.      number of pending GETS                 64 max
  1100.      number of files open at one time       16 max
  1101.      length of .PRG file                 unlimited
  1102. *EXIT
  1103. *ERRORS
  1104. BAD DECIMAL WIDTH FIELD -- Re-enter decimal part of field defin-
  1105.     ition.
  1106.     
  1107. BAD FILE NAME -- Syntax error in filename.
  1108.  
  1109. BAD NAME FIELD --  Redefine field name while in CREATE.
  1110.  
  1111. BAD TYPE FIELD -- Must be C (character), N (numeric), or
  1112.     L (logical).
  1113.  
  1114. BAD WIDTH FIELD -- Redefine size of data field between 1 and 255.
  1115.  
  1116.  *** BEYOND STRING -- Rewrite substring ($) with correct parameter.
  1117.  
  1118. CANNOT  INSERT - THERE ARE NO RECORDS IN DATABASE FILE -- Use the 
  1119.     APPEND command instead.
  1120.  
  1121. CANNOT OPEN FILE -- Check the existence or integrity of MEM or 
  1122.     HEX file.
  1123.  
  1124. COMMAND FILE CANNOT BE FOUND -- Check spelling and default drive.
  1125.  
  1126. DATA  ITEM NOT FOUND -- Rewrite REPLACE command,  or  check  file 
  1127.     structure for correct field name.
  1128.  
  1129. DATABASE  IN  USE  IS NOT INDEXED -- FIND is  permitted  only  on 
  1130.     indexed databases.
  1131.  
  1132. DIRECTORY IS FULL -- The operating system's directory cannot hold 
  1133.     anymore files.
  1134.  
  1135. DISK IS FULL -- No space left on disk.   Use DELETE FILE to erase 
  1136.     some unneeded files.
  1137.  
  1138. END  OF FILE FOUND UNEXPECTEDLY -- The database in USE is not  in 
  1139.     the correct format. dBASE isn't sure that file is a DBF file.
  1140.  
  1141. "FIELD" PHRASE NOT FOUND -- Rewrite CHANGE command line.
  1142.  
  1143. FILE ALREADY EXISTS -- Delete the unwanted file before RENAME.
  1144. FILE  DOES NOT EXIST -- Use DISPLAY FILE LIKE *.* to be sure  the 
  1145.     file exists. 
  1146.  
  1147. FILE  IS  CURRENTLY OPEN -- Type a USE or CLEAR command to  close 
  1148.     the file.
  1149.  
  1150. FORMAT FILE CANNOT BE OPENED -- Check the integrity of FMT file.
  1151.  
  1152. FORMAT FILE HAS NOT BEEN SET -- Set the appropriate FMT file.
  1153.  
  1154. ILLEGAL DATA TYPE -- SORT cannot sort on a logical field.
  1155.  
  1156. ILLEGAL GOTO VALUE -- Record addressed must be > 0 and < 65535.
  1157.  
  1158. ILLEGAL  VARIABLE  NAME  -- Only  alphanumerics  and  colons  are 
  1159.     allowed  in variable and field names.   Redefine variable  or 
  1160.     field name.
  1161.  
  1162. INDEX DOES NOT MATCH DATABASE -- dBASE cannot match the index key 
  1163.     with the database.  Try another index file.
  1164. INDEX FILE CANNOT BE OPENED -- Check spelling or index the data-
  1165.      base.
  1166.  
  1167. JOIN  ATTEMPTED  TO GENERATE MORE THAN 65,534 RECORDS -- The  FOR 
  1168.     clause  allows too many joined output records.  Make it  more 
  1169.     stringent.
  1170.  
  1171. KEYS ARE NOT THE SAME LENGTH -- UPDATE command requires identical 
  1172.     keys.
  1173.  
  1174. MACRO IS NOT A CHARACTER STRING -- Variables expanded by a  macro 
  1175.     (&) must be character (C) in content.
  1176.  
  1177. MORE THAN 5 FIELDS TO SUM - SUM is limited to 5 fields at a time.
  1178.  
  1179. MORE THAN 7 INDEX FILES SELECTED -- Maximum number of index files 
  1180.     open is seven.  Fewer will give faster performance.
  1181.  
  1182. NESTING  LIMIT  VIOLATION  EXCEEDED -- Cannot have more  than  16 
  1183.     command files open at once.
  1184. NO EXPRESSION TO SUM -- SUM command needs a numeric expression to 
  1185.     sum.
  1186.  
  1187. NO "FOR" PHRASE -- Rewrite JOIN command with correct syntax.
  1188.  
  1189. NO "FROM" PHRASE -- Rewrite UPDATE command with correct syntax.
  1190.  
  1191. NO FIND - More a diagnostic than an error message. dBASE couldn't 
  1192.     find the key. Record # has been set to 0.
  1193.  
  1194. NON-NUMERIC EXPRESSION -- SUM command needs a numeric  expression 
  1195.     to sum.
  1196.  
  1197. NOT  A  dBASE II DATABASE -- DBF file opened was not  created  by 
  1198.     dBASE.
  1199.  
  1200. "ON"  PHRASE  NOT FOUND -- Rewrite  UPDATE or INDEX command  with 
  1201.     correct syntax.
  1202.  
  1203.  
  1204. OUT  OF MEMORY FOR MEMORY VARIABLES -- Reduce the number or  size 
  1205.     of memory variables.
  1206.  
  1207. RECORD  LENGTH EXCEEDS MAXIMUM SIZE (OF 1000) -- Reduce  size  of 
  1208.     some fields or create a second database on a common key.
  1209.  
  1210. RECORD  NOT IN INDEX -- Index file was not updated after a record 
  1211.     was added.  Reindex the file.
  1212.  
  1213. RECORD  OUT OF RANGE -- Record number was called that is  greater 
  1214.     than number of records in database. If the index file is  not  
  1215.     current, reindex the file.
  1216.  
  1217. SORTER  INTERNAL ERROR,  NOTIFY SCDP -- Internal  error,  contact 
  1218.     ASHTON-TATE for support.
  1219.  
  1220. SOURCE AND DESTINATION DATA TYPES ARE DIFFERENT - Check that data 
  1221.     types are both numeric, both character, or both logical.
  1222.  
  1223.  *** SYNTAX ERROR *** -- dBASE doesn't understand the command.
  1224. SYNTAX ERROR IN FORMAT SPECIFICATION -- @ SAY GET PICTURE command 
  1225.     is improperly set up.
  1226.  
  1227. SYNTAX ERROR, RE-ENTER -- INPUT, ACCEPT, REPORT require syntacti-
  1228.     cally correct entry.  May expect a different data type.
  1229.  
  1230. "TO" PHRASE NOT FOUND -- Rewrite command with correct syntax.
  1231.  
  1232. TOO  MANY  CHARACTERS  -- (Non-Full-Screen  only.)  Data  entered 
  1233.     exceeds allotted length of field.
  1234.  
  1235. TOO  MANY FILES ARE OPEN -- Only 16 files of all types  (Command, 
  1236.     FMT, NDX) may be open at one time.
  1237.  
  1238. TOO  MANY  MEMORY VARIABLES -- There is a maximum of  64  current 
  1239.     memory variables.
  1240.  
  1241. TOO   MANY  RETURNS  ENCOUNTERED  -- Probably  an  error  in  the 
  1242.      structure of a command file.   Check the number and location 
  1243.      of RETURNs.
  1244. "WITH"  PHRASE NOT FOUND -- Rewrite REPLACE command with  correct 
  1245.     syntax.
  1246.  
  1247. UNASSIGNED FILE NUMBER -- Internal error. Contact ASHTON-TATE for 
  1248.     support.  If HELP was used,  DBASEMSG.TXT file may be missing 
  1249.     from drive.
  1250.  
  1251.  *** UNKNOWN COMMAND -- Check spelling.  dBASE doesn't understand 
  1252.     command.
  1253.  
  1254. VARIABLE CANNOT BE FOUND -- Need to create the variable, or check 
  1255.     the spelling of the field name in database structure.
  1256.  
  1257.  ***ZERO DIVIDE -- There was an attempt to divide a <numeric exp> 
  1258.     by zero.
  1259. *EXIT
  1260. *RUNTIME
  1261. A new Ashton-Tate product, dBASE II RunTime, has been designed to 
  1262. help applications developers market software packages written  in 
  1263. dBASE II.                   
  1264.  
  1265. dBASE  II RunTime will allow end-users to run programs written in 
  1266. dBASE II without having access to the source code. Thus, combined 
  1267. with RunTime,  you can market your dBASE II applications  without 
  1268. fear  of  having  your program altered in any way  by  those  who 
  1269. purchase it.  
  1270.  
  1271. Moreover, Ashton-Tate is prepared to help you reach  the  market-
  1272. place:   Ashton-Tate  publishes  a catalog of existing  dBASE  II 
  1273. applications, and now provides software developers with a variety 
  1274. of  other services which will help you in your marketing efforts. 
  1275.  
  1276. If you develop a dBASE II application you wish to market, contact 
  1277. Ashton-Tate's RunTime  Coordinator  for  information about how to 
  1278. proceed. For  information  about  applications  that  will run on 
  1279. your  dBASE   II  system  right  now,  ask  for  the  Application 
  1280. Marketing Referral Service. 
  1281. *EXIT
  1282.