home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p190 / 4.ddi / PRG / STARTUP.PRG < prev    next >
Encoding:
Text File  |  1979-12-31  |  7.5 KB  |  235 lines

  1. SET TALK OFF
  2. SET INTENSITY OFF
  3. STORE T TO A
  4. DO WHILE A
  5.    STORE 0 TO COUNT  
  6.    DO WHILE COUNT<>30
  7.       ?
  8.       STORE COUNT+1 TO COUNT
  9.    ENDDO
  10. *  TEXT
  11.  ? '               úΣú┬ú┴ú╙ú┼  ú╔ú╔  │⌡╩╝╗»╕¿╓·│╠╨≥      '
  12. ? '⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ'
  13. ? '      ┤╦│╠╨≥┐╔╥╘╝∞▓Θ úΣú┬ú┴ú╙ú┼ ú╔ú╔ │⌡╩╝╗»║≤╞┴─╗╡─╒²╚╖╨╘'
  14. ? '⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ'
  15. STORE 0 TO COUNT
  16. DO WHILE COUNT<10
  17.  ?
  18.  STORE COUNT+1 TO COUNT
  19. ENDDO
  20. ? '                     ╓≈  ▓╦  ╡Ñ'
  21. ? '                   ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ⌐Ñ'
  22. ? '                ú▒  ú¡  ╘╦╨╨▓Γ╩╘│╠╨≥'
  23. ? '                ú▓  ú¡  ╘╦╨╨│⌡╩╝╗»│╠╨≥'
  24. ? '                ú│  ú¡  ╗╪╡╜ úΣú┬ú┴ú╙ú┼ ú╔ú╔ ╧╡═│'
  25. ? '                ú┤  ú¡  ╗╪╡╜▓┘╫≈╧╡═│'
  26. *  ENDTEXT
  27.    ACCEPT "╠⌠╤í╥╗╕÷╚╗║≤┤≥╗╪│╡" TO ACTION
  28.    DO CASE
  29.       CASE ACTION="1"
  30.         STORE F TO A 
  31.         NOTE ú¡ú¡  ╬╥├╟╝╠╨°╜°╨╨úí
  32.       CASE ACTION="2"
  33.         QUIT TO "INSTALL.COM"
  34.         LOOP
  35.       CASE ACTION="3"
  36.         ?
  37.         ?
  38.         ?
  39.         ?
  40.         ? "╗╪╡╜ úΣú┬ú┴ú╙ú┼ ú╔ú╔"
  41.         RETURN  
  42.       CASE ACTION="4"
  43.         QUIT  
  44.       OTHERWISE      
  45.         LOOP
  46.    ENDCASE
  47. ENDDO A
  48. STORE 0 TO COUNT
  49. DO WHILE COUNT<>10
  50.    ?
  51.    STORE COUNT+1 TO COUNT
  52. ENDDO
  53. ? "     ╟σ╞┴ú¼╣Γ▒Ω╥╞╓┴╫≤╔╧╜╟              "
  54. STORE 0 TO COUNT
  55. DO WHILE COUNT<>5
  56.    ?
  57.    STORE COUNT+1 TO COUNT
  58. ENDDO
  59. ACCEPT "╝∞▓Θ╟σ╞┴║═╣Γ▒Ω╣Θ╬╗ú¼┤≥ú¿╗╪│╡ú⌐" TO CHOICE
  60. ERASE
  61. ACCEPT "╣Γ▒Ω╣Θ╬╗íó╟σ╞┴┴╦┬≡ú┐ú¿ú┘ú»ú╬ú⌐ " TO CHOICE
  62. IF !(CHOICE)="N"
  63.    STORE 0 TO COUNT
  64.    DO WHILE COUNT<>10
  65.       ?
  66.       STORE COUNT+1 TO COUNT
  67.    ENDDO
  68.    ? "║├úí╬╥├╟╢╘┤╦╫÷╕÷╝╟║┼ úíúí"
  69.    STORE F TO CLEARHOME
  70.    STORE 0 TO COUNT2
  71.    DO WHILE COUNT2<25
  72.       STORE COUNT2+1 TO COUNT2
  73.    ENDDO
  74. ELSE
  75.    STORE 0 TO COUNT
  76.    DO WHILE COUNT<>10
  77.      ?
  78.      STORE COUNT+1 TO COUNT
  79.    ENDDO
  80.    ? "║▄║├ú¼╚├╬╥├╟╝╠╨°╜°╨╨ úíúí"
  81.    STORE T TO CLEARHOME
  82.    STORE 0 TO COUNT2
  83.    DO WHILE COUNT2<20
  84.       STORE COUNT2+1 TO COUNT2
  85.    ENDDO
  86. ENDIF
  87. STORE 0 TO COUNT
  88. DO WHILE COUNT<>10
  89.    ?
  90.    STORE COUNT+1 TO COUNT
  91. ENDDO
  92. ? "  ├┐░┤╥╗┤╬═╦╕±ú¿í√ú⌐╝ⁿ╢╝╜½╔╛│²╥╗╕÷╫╓╖√▓ó╗╪═╦╥╗╕±"
  93. ?
  94. ? "  └²ú║  ╚τ╣√┤≥╚δúºú┴ú┬ú├ú─ú┼úºú¼░┤┴╜┤╬═╦╕±╝ⁿ║≤╓╗╩ú╧┬úºú┴ú┬ú├úº"
  95. ?
  96. ? "  ▓Γ╩╘╗╪═╦╝ⁿú¼┤≥╚δú╡╕÷╫╓╖√ú¼╩Σú│┤╬╗╪═╦╝ⁿú¼╚╗║≤┤≥ú¿╗╪│╡ú⌐╝ⁿ  "
  97. STORE 0 TO COUNT
  98. DO WHILE COUNT<>3
  99.    ?
  100.    STORE COUNT+1 TO COUNT
  101. ENDDO
  102. ACCEPT TO TEST
  103. ?
  104. ? "╩╟╖±├┐░┤╥╗┤╬╗╪═╦╝ⁿ╢╝╔╛│²╥╗╕÷╫╓╖√ ú┐ ú¿ú┘ú»ú╬ú⌐"
  105. ACCEPT TO CHOICE
  106. IF !(CHOICE)="N"
  107.    STORE 0 TO COUNT
  108.    DO WHILE COUNT<>10
  109.       ?
  110.       STORE COUNT+1 TO COUNT
  111.    ENDDO
  112.    ? "╡╚╗h  the 
  113.     usual and suggested command file documentation.
  114. DATER.PRG  -- this  command file will convert  calendar  date  to 
  115.     julian date and vice-versa.
  116.  
  117. VIP.COM -- special program run from DOS will speed up creation of 
  118.     customized formats for data input and display.   (Ashton-Tate 
  119.     will send program to user upon receipt of license agreement.) 
  120. *EXAMPLES
  121. Some   files  that are present with  dBASE II are  EXAMPLE  files  
  122. (occassionally on a separate disk).   These files are intended to 
  123. be useful as they are,  and are internally documented well enough 
  124. for you to customize them to suit your own purposes.   Each suite 
  125. of  programs listed is progressively more involved,  so  you  can 
  126. start  at  a level comfortable to you and work  up.   The  master 
  127. program of each group is marked with a '>'.
  128.  
  129.                TICKLE FILE MANAGEMENT FILES (CARDFILE)
  130.   > CMAIN.PRG        TEXT.DBF       CPRINT.PRG     KEYWORD.NDX 
  131.     APPECARD.PRG     TICKLE.NDX     TICKLE.FRM     EDITCARD.FMT
  132.  
  133.                    CHECKBOOK MANAGEMENT FILES
  134.   > CHXMENU.PRG      CHXINPUT.FMT   CHXDEPOS.FMT   CHXBOOK.MEM
  135.     CHECKS.DBF       DEPOSITS.DBF
  136.  
  137.                    INVENTORY MANAGEMENT FILES
  138.   > IMAIN.PRG        INVENT.DBF    ISETUP.PRG      I'BYNMBR.NDX
  139.     INVMAINT.PRG     I'BYDESC.NDX  INVQUAN.PRG     INV'CONS.FRM
  140.     INVREAD.PRG      INV'PRTR.FRM  INVRPRT.PRG
  141.  
  142.                    PERSONNEL MANAGEMENT FILES
  143.  
  144.   > EMAIN.PRG      EMPLOYEE.DBF     ESETUP.PRG     EMPSCRN.FMT              
  145.     EMP-ENTR.PRG   EMP-UPD.FMT      EMP-UPD.PRG    EMP-PRT.FRM
  146.     EMP-TERM.PRG   EMP-CONS.FRM     EMP-RPRT.PRG   E'BYNMBR.NDX
  147.     EMPLOYEE.MEM   E'BYNAME.NDX
  148. *EXIT
  149. *FULL SCREEN
  150.        FULL-SCREEN CURSOR MOVEMENT CODES -- ALL COMMANDS
  151.  
  152. ctrl-X moves cursor DOWN to the next field (also ctrl-F)
  153. ctrl-E moves cursor UP to the previous field (also ctrl-A)
  154. ctrl-D moves cursor AHEAD one character
  155. ctrl-S moves cursor BACK one character
  156. ctrl-G deletes character under cursor
  157. <Rubout> or <DEL> deletes character to left of cursor
  158. ctrl-Y blanks out current field to right of cursor
  159. ctrl-V toggles between overwrite and INSERT modes
  160. ctrl-W save changes and returns to "." prompt
  161.  
  162.                     IN EDIT MODE
  163.  
  164. ctrl-U toggles the record DELETE mark on and off
  165. ctrl-C writes current record to disk and ADVANCES to next record
  166. ctrl-R writes current record to disk and BACKS to previous record
  167. ctrl-Q ignores changes to current record and returns to "." prompt
  168. ctrl-W writes all changes to disk and returns to "." prompt
  169.  
  170.                    IN BROWSE MODE
  171.  
  172. ctrl-B pans the window RIGHT one field
  173. ctrl-Z pans the window LEFT one field
  174.  
  175.                    IN MODIFY MODE
  176.  
  177. ctrl-T DELETES current line, moves all lower lines up
  178. ctrl-N INSERTS new line at cursor position
  179. ctrl-C scrolls down a half page
  180. ctrl-W writes all changes to disk and returns to "." prompt
  181. ctrl-Q ignores all changes and returns
  182.  
  183.                    IN APPEND MODE
  184.  
  185. <enter> terminates APPEND when cursor is in first position of 
  186.         first field 
  187. ctrl-W writes record to disk and  moves to next record
  188. ctrl-Q ignores current record and returns to "." prompt
  189.  
  190.      CONTROL KEY STROKES OPERABLE WHEN NOT IN FULL SCREEN
  191.  
  192. ctrl-P toggles your printer ON and OFF
  193. ctrl-R repeats last executed command
  194. ctrl-X clears the command line without executing command
  195. ctrl-H backspace
  196. ctrl-M emulates a carriage return
  197. ctrl-S starts/stops CPU operation 
  198. *INSTALL
  199. In  order to use dBASE II's Full-screen  editing  facility,  your 
  200. terminal must be properly installed.  Many dBASE formats are pre-
  201. installed.  If  yours is not your screen will appear jumbled when 
  202. you  attempt to perform such full screen operations as APPEND  or 
  203. EDIT.  To correct this you must install dBASE II by  running  the 
  204. dBASE  II installation  program,  INSTALL.COM,  called from  your 
  205. system as INSTALL.  Since you may diagnose your terminal's status 
  206. at  any time by running STARTUP.PRG (called from the dBASE II "." 
  207. prompt by entering the command DO STARTUP),  you would be wise to 
  208. use it before attempting to INSTALL dBASE II.   It will tell  you 
  209. if  you  need to run the installation program,  and can  be  used 
  210. later to check the results if you do.
  211. *EXIT
  212. *NEW
  213. > New commands and changes to dBASE II  
  214.  
  215. New commands:
  216.  
  217. HELP -- user aid command.
  218. REINDEX -- realigns and updates existing index file.
  219. SET F<n>  -- sets value of function key on  IBM  PC,  Victor,  TI 
  220.     Professional, and IBM PC compatible terminals. 
  221. SET COLOR -- alters display color on terminals listed above.
  222. TEXT -- displays multiple lines of text, terminated by ENDTEXT.
  223. RANK(  ) -- function returns ASCII value of first character.
  224. TEST(  ) -- function determines validity of <exp>
  225.  
  226. Supplemented Commands:
  227.  
  228. APPEND,INSERT,EDIT,CREATE -- can now use a format file for screen 
  229.     control.
  230. BROWSE  -- can now be given a list of fields to work with.
  231. DISPLAY  STATUS  -- shows  databases and indexes in use  and  SET 
  232.     settings.
  233. READ  & REPLACE -- can be directed not to perform  disk  accesses 
  234.     when 
  235.