home *** CD-ROM | disk | FTP | other *** search
/ SDN¹ Plus / SDN1_.cdr / sdn / other / hemshare.sdn / HEMDEMO.PRG < prev    next >
Text File  |  1990-01-16  |  18KB  |  509 lines

  1. *...............................................................................
  2. *                    (c) Copyright 1989 Compu-Needs, Inc.
  3. *                      4411 Bee Ridge Road, Suite 299
  4. *                         Sarasota, Florida 34233
  5. *                           All Rights Reserved
  6. *...............................................................................
  7. * Author       : W.Howard Powell
  8. * Program      : The Home Entertainment Manager
  9. * File name    : HEMDEMO.PRG
  10. * Date written : 12/30/88
  11. * Notes        : shareware main menu program, shows many data screens and
  12. *                prints a order form.
  13.  
  14. CLEAR ALL
  15. SET TALK OFF
  16. SET ESCAPE OFF
  17. SET BELL OFF
  18. SET SAFETY OFF
  19. SET SCOREBOARD OFF
  20. SET CURSOR OFF
  21. *shareware info screens
  22. SET COLOR TO GR+/RB
  23. CLEAR SCREEN
  24. @ 1,2 SAY '  Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes'
  25. SET COLOR TO N/RB
  26. @ 2,2 SAY 's \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Casset'
  27. SET COLOR TO B/RB
  28. @ 3,2 SAY 'scs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Cass'
  29. SET COLOR TO G/RB
  30. @ 4,2 SAY 'Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Ca'
  31. SET COLOR TO BG/RB
  32. @ 5,2 SAY '  Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records  '
  33. SET COLOR TO R/RB
  34. @ 6,2 SAY 'act Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Records'
  35. SET COLOR TO GR/RB
  36. @ 7,2 SAY 'mpact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Record'
  37. SET COLOR TO W/RB
  38. @ 8,2 SAY 'Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Reco'
  39. SET COLOR TO N+/RB
  40. @ 9,2 SAY '  Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies \ Re'
  41. SET COLOR TO B+/RB
  42. @ 10,2 SAY 's \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies  '
  43. SET COLOR TO BG+/RB
  44. @ 11,2 SAY 'ttes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movies'
  45. SET COLOR TO R+/RB
  46. @ 12,2 SAY 'settes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Movie'
  47. SET COLOR TO GR+/RB
  48. @ 13,2 SAY 'assettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ Mov'
  49. SET COLOR TO  W+/RB
  50. @ 14,2 SAY ' Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs \ M'
  51. SET COLOR TO N/RB
  52. @ 15,2 SAY ' \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs .'
  53. SET COLOR TO B/RB
  54. @ 16,2 SAY 'ds \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Discs'
  55. SET COLOR TO G/RB
  56. @ 17,2 SAY 'ords \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact Dis'
  57. SET COLOR TO BG/RB
  58. @ 18,2 SAY 'ecords \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact D'
  59. SET COLOR TO R/RB
  60. @ 19,2 SAY ' Records \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compact'
  61. SET COLOR TO  GR/RB
  62. @ 20,2 SAY ' \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Compa'
  63. SET COLOR TO W/RB
  64. @ 21,2 SAY 'es \ Records \ Cassettes \ Compact Discs \ Movies \ Records \ Cassettes \ Com'
  65. SET COLOR TO GR+/RB
  66. @ 0,0 TO 22,79 DOUBLE
  67. DO MOVE
  68. STORE CHR(13) TO mn1
  69. STORE CHR(14) TO mn2
  70. STORE CHR(15) TO mm1
  71. STORE SPACE(30) TO msp
  72. SET COLOR TO B/B
  73. CLEAR
  74. SET COLOR TO GR+/B
  75. @ 1,32 SAY 'W E L C O M E'
  76. @ 3,37 SAY 'T O'
  77. @ 5,36 SAY 'T H E'
  78. SET COLOR TO N/N
  79. @  8,25 SAY MSP
  80. @  9,25 SAY MSP
  81. @ 10,25 SAY MSP
  82. @ 11,25 SAY MSP
  83. @ 12,25 SAY MSP
  84. @ 13,25 SAY MSP
  85. @ 14,25 SAY MSP
  86. SET COLOR TO R/R
  87. @  7,24 SAY MSP
  88. @  8,24 SAY MSP
  89. @  9,24 SAY MSP
  90. @ 10,24 SAY MSP
  91. @ 11,24 SAY MSP
  92. @ 12,24 SAY MSP
  93. @ 13,24 SAY MSP
  94. SET COLOR TO GR+/R
  95. @ 7,24 TO 13,53 DOUBLE
  96. @  8,36 SAY 'H O M E'
  97. @ 10,28 SAY 'E N T E R T A I M E N T'
  98. @ 12,32 SAY ' M A N A G E R'
  99. @ 22, 0 TO 24,79 DOUBLE
  100. @ 23,1 SAY SPACE(78)
  101. DO MOVE
  102. SET COLOR TO GR+/B
  103. @ 16,31 SAY 'Brought To You By'
  104. @ 18,33 SAY 'Compu-Needs'
  105. @ 20,31 SAY 'Sarasota, Florida'
  106. SET COLOR TO BG+/B
  107. @ 23,1 SAY SPACE(78)
  108. DO MOVE
  109. SET COLOR TO B/B
  110. CLEAR
  111. SET COLOR TO N/N
  112. @  2,25 SAY MSP
  113. @  3,25 SAY MSP
  114. @  4,25 SAY MSP
  115. @  5,25 SAY MSP
  116. @  6,25 SAY MSP
  117. @  7,25 SAY MSP
  118. @  8,25 SAY MSP
  119. SET COLOR TO R/R
  120. @  1,24 SAY MSP
  121. @  2,24 SAY MSP
  122. @  3,24 SAY MSP
  123. @  4,24 SAY MSP
  124. @  5,24 SAY MSP
  125. @  6,24 SAY MSP
  126. @  7,24 SAY MSP
  127. SET COLOR TO GR+/R
  128. @ 1,24 TO  7,53 DOUBLE
  129. @  2,36 SAY 'H O M E'
  130. @  4,28 SAY 'E N T E R T A I M E N T'
  131. @  6,32 SAY ' M A N A G E R'
  132. SET COLOR TO GR+/B
  133. @ 9,0 CLEAR
  134. TEXT
  135.           The Home Entertainment Manager is a shareware software
  136.           product that will organize and maintain records for a home
  137.           music or video library.  It will track four different types
  138.           of entertainment mediums; video movies, records, cassettes
  139.           and compact discs.  This shareware version is being
  140.           distributed for demonstration purposes, but all of the main
  141.           features of the program have been implemented in its
  142.           release.  Any data files that you create will be used by the
  143.           registered version, no data will need to be re-entered and the
  144.           work you do on this version will not have to be duplicated.
  145. ENDTEXT
  146. DO MOVE
  147. @ 9,0 CLEAR
  148. TEXT
  149.          Movies
  150.                       Records
  151.                                     Cassettes
  152.                                                      Compact Discs
  153.  
  154.           They all entertain, and they all can be maintained with the
  155.           Home Entertainment Manager from Compu-Needs.  All of your
  156.           titles for each type of entertainment medium can be tracked
  157.           from the main menu of the Home Entertainment Manager.  You
  158.           can generate your own catalog for each type within the
  159.           program and have the listings sorted by many different
  160.           methods.
  161. ENDTEXT
  162. DO MOVE
  163. @ 9,0 CLEAR
  164. TEXT
  165.           The Home Entertainment Manager will help you organize all of
  166.           your home entertainment needs with one concise program.  If
  167.           you collect only one type of the entertainment mediums
  168.           listed, you can still use the Home Entertainment Manager.
  169.           It is flexible enough to not require entries for each type.
  170.  
  171.           All collections have several items in common; some type of
  172.           reference system to find each item, a title for the item,
  173.           and a category to catalog the item.   The Home Entertainment
  174.           Manager has all these features and they all relate to your
  175.           home entertainment library.
  176. ENDTEXT
  177. DO MOVE
  178. @ 9,0 CLEAR
  179. TEXT
  180.          Even with all these features, the Home Entertainment Manager
  181.          is not for everyone.  If your entertainment library contains
  182.          a small collection of titles, the Home Entertainment Manager
  183.          may not be that helpful.  But, if you have a large number of
  184.          titles --or hope to have-- you will see the benefits of the
  185.          Home Entertainment Manager after only a few minutes of use.
  186.  
  187.          The data required for each title entry is as follows:
  188.                Type of entertainment medium -> by menu option,
  189.                          A reference number -> user determined,
  190.                                   The title -> user determined,
  191.                          Category for title -> by menu option,
  192.             Artists name (music types only) -> user determined.
  193. ENDTEXT
  194. DO MOVE
  195. @ 9,0 CLEAR
  196. TEXT
  197.          The Home Entertainment Manager works entirely from menu
  198.          selections.  Menu options are selected by pressing one key
  199.          out of a range of valid keys.  Pressing ENTER is not required
  200.          for menu selections.  User determined data for each
  201.          reference number, title and artists are free form --upper and
  202.          lower case letters, numbers or symbols-- which allows total
  203.          control of data entry.  The category is selected by menu
  204.          option from a list of pre-defined categories.
  205. ENDTEXT
  206. DO MOVE
  207. @ 9,0 CLEAR
  208. TEXT
  209.          The free form entry of the reference number makes the Home
  210.          Entertainment Manager a very useful tool for any type of
  211.          existing music or video collection.  The reference number
  212.          allows six characters to be entered in any form determined
  213.          by the user.  An existing library will not have to be
  214.          renumbered to accommodate strict reference numbering
  215.          required by the program.  If a six character reference
  216.          number is not sufficient for your needs please contact us for
  217.          a customized version of the Home Entertainment Manager.
  218. ENDTEXT
  219. DO MOVE
  220. @ 9,0 CLEAR
  221. TEXT
  222.  
  223.          Please use the Home Entertainment Manager to its fullest
  224.          extent  If you are pleased with its operation you may obtain
  225.          the registered version by completing the registration form
  226.          and mailing it to Compu-Needs in Sarasota Florida.  The
  227.          registered version does not contain these information
  228.          screens and entitles you to any updates to the program.
  229. ENDTEXT
  230. STORE ' ' TO m
  231. @ 19,10 SAY 'Do you want to print the registration form ? (Y/N)'
  232. @ 20,32 SAY 'Press Y or N [ ]'
  233. @ 20,46 GET m VALID ( m $ 'YyNn')
  234. READ
  235. IF UPPER(m) = 'Y'
  236.    SET DEVICE TO PRINT
  237.    @ 2,17 SAY 'R E G I S T R A T I O N     F O R M'
  238.    @ 6,6 SAY 'Name:_____________________________________________________'
  239.    @ 8,6 SAY 'Address:__________________________________________________'
  240.    @ 10,6 SAY 'City, State, Zip :________________________________________'
  241.    @ 12,6 SAY 'Home Phone:_______________________________________________'
  242.    @ 16,13 SAY 'I would like _________ copies of the HOME'
  243.    @ 18,13 SAY 'ENTERTAINMENT MANAGER. Enclosed please find'
  244.    @ 20,13 SAY '$24.95 plus 6% sales tax, if ordering in Floida,'
  245.    @ 22,13 SAY 'per registered version.'
  246.    @ 24,13 SAY '3 1/2" Format ______  or  5 1/4" Format ______'
  247.    @ 27,6 SAY 'We also offer minor programming changes for a small fee.'
  248.    @ 28,6 SAY 'This service is for registered users only.  If you have'
  249.    @ 29,6 SAY 'a particular program you need to have written, please'
  250.    @ 30,6 SAY 'send us a line describing your needs.'
  251.    @ 32,7 SAY 'Comments:_______________________________________________'
  252.    @ 34,16 SAY '_______________________________________________'
  253.    @ 36,16 SAY '_______________________________________________'
  254.    @ 40,7 SAY 'Thank you,'
  255.    @ 42,7 SAY 'Rick L. Smith, pres.'
  256.    @ 46,19 SAY 'C O M P U - N E E D S, I n c.'
  257.    @ 48,18 SAY  '4411 Bee Ridge Road, Suite # 299'
  258.    @ 50,22 SAY 'Sarasota, Florida  34233'
  259.    @ 52,23 SAY 'Phone: (813) 371-2513'
  260.    EJECT
  261.    SET DEVICE TO SCREEN
  262. ENDIF
  263. DO MOVE
  264.  
  265. * check for index files
  266. IF !FILE('HEMIA.NTX') .OR. !FILE('HEMIC.NTX') .OR. !FILE('HEMIR.NTX') .OR. !FILE('HEMIT.NTX')
  267.    DO RENTX  && rebuild indexes
  268. ENDIF
  269. SET KEY 28 TO HELP  && enable F1 key
  270.  
  271. STORE CHR(27)+' '+' '+CHR(26) TO mcur_keys
  272. STORE CHR(17)+CHR(205)+CHR(190) TO menter
  273. STORE 'Type information and end each block by pressing ENTER ' TO mess1
  274. STORE CHR(201) + CHR(205) + CHR(16) TO mbra  && big right arrow
  275. STORE CHR(17) + CHR(205) + CHR(187) TO mbla  && big left arrow
  276. STORE CHR(205) TO mconn  && horizontal line
  277. STORE CHR(200) TO mright  && right bend
  278. STORE CHR(188) TO mleft  && left bend
  279. STORE CHR(201) TO mdown  && down turn
  280. STORE 'A-Adult          B-Adventure      C-Animated       '+;
  281. 'D-Biblical       '+'E-Childrens      '+'F-Comedy         '+;
  282. 'G-Disney         '+'H-Documentary    '+'I-Drama          '+;
  283. 'J-Eductional     '+'K-Epic           '+'L-Fantasy        ' TO mvideo1
  284. STORE 'M-Horror         '+'N-Musical        '+'O-Mystery        '+;
  285. 'P-Romance        '+'Q-Science Fiction'+'R-Self Help      '+;
  286. 'S-Western        ' TO mvideo2
  287. STORE 'A-Big Band       '+'B-Blue Grass     '+'C-Classical      '+;
  288. 'D-Country        '+'E-Folk           '+'F-Golden Oldies  '+;
  289. 'G-Hard Rock      '+'H-Jazz           '+'I-Opera          '+;
  290. 'J-Rock & Roll    '+'K-Rhythm & Blues '+'L-Spiritual      ' TO maudio
  291. STORE 'BG+/B,B/W,B' TO mcnormal    && normal color
  292. STORE 'GR+/B,B/W,B' TO mcinverse   && inverse color
  293. STORE 'G+/B,B/W,B' TO mchelp       && help color
  294. STORE 'B/W,W/B,B' TO mcblock       && inverse block color
  295. STORE 'R' TO mcwarn                && warning message color
  296. STORE 'N+/G,B/W,B' TO mcview        && view help screen colors
  297. STORE 'Unregistered Version' TO lname
  298. STORE .T. TO helpflag
  299. SET COLOR TO &mcnormal
  300. CLEAR SCREEN
  301. SET CURSOR ON
  302. @  0, 0 TO  5,79 DOUBLE
  303. @  1,(34-(LEN(lname)/2)) SAY lname + ' of the'
  304. @  2,24 SAY 'Home Entertainment Manager'
  305. @  4, 3 SAY CDOW(DATE()) + ', ' + CMONTH(DATE())+ ' ' +;
  306.    LTRIM(STR(DAY(DATE()),2))+ ', ' +  STR(YEAR(DATE()),4)
  307. @  4,51 SAY 'Screen help prompts are'
  308. * select correct helpflag
  309. IF helpflag
  310.    @  4,75 SAY 'on. '
  311. ELSE
  312.    @  4,75 SAY 'off.'
  313. ENDIF
  314. DO WHILE .T.
  315.    SET COLOR TO &mcinverse
  316.    @  6, 0 CLEAR
  317.    @  8,26 SAY 'A'
  318.    @ 10,26 SAY 'C'
  319.    @ 12,26 SAY 'D'
  320.    @ 14,26 SAY 'V'
  321.    @ 16,26 SAY 'T'
  322.    @ 18,26 SAY 'Q'
  323.    @ 20,29 SAY 'A  C  D  V  T     Q'
  324.    SET COLOR TO &mcnormal
  325.    @  8,27 SAY 'dd new titles.'
  326.    @ 10,27 SAY 'hange/delete existing titles.'
  327.    @ 12,27 SAY 'isplay title list.'
  328.    @ 14,27 SAY 'iew helpful information.'
  329.    @ 16,27 SAY 'oggle screen help prompts.'
  330.    @ 18,27 SAY 'uit.'
  331.    @ 20,23 SAY 'Press'
  332.    @ 20,30 SAY ','
  333.    @ 20,33 SAY ','
  334.    @ 20,36 SAY ','
  335.    @ 20,39 SAY ','
  336.    @ 20,42 SAY ','
  337.    @ 20,44 SAY 'or'
  338.    @ 20,49 SAY '[ ]'
  339.    IF helpflag
  340.       SET COLOR TO &mchelp
  341.       @ 22,23 SAY 'Choose one of the above program options by pressing'
  342.       @ 23,23 SAY 'the first letter of the option.  The function will'
  343.       @ 24,23 SAY 'start automatically.'
  344.       @ 20,20 SAY mbra
  345.       @ 21,20 TO 22,20 DOUBLE
  346.       @ 22,20 SAY mright
  347.       @ 22,21 SAY mconn
  348.       SET COLOR TO &mcnormal
  349.    ENDIF
  350.    STORE ' ' TO msel
  351.    SET COLOR TO &mcread
  352.    @ 20,50 GET msel PICT "!" VALID( msel $ "ACDVTQacdvtq")
  353.    READ
  354.    SET COLOR TO &mcnormal
  355.    STORE UPPER(msel) TO mopt
  356.  
  357.    DO CASE
  358.      CASE mopt ='A'
  359.         DO GETTYPE WITH 'add'
  360.         STORE UPPER(msel) TO mtype
  361.         DO AHEM
  362.      CASE mopt='C'
  363.         DO GETTYPE WITH 'change'
  364.         STORE UPPER(msel) TO mtype
  365.         DO CHEM
  366.      CASE mopt='D'
  367.         STORE .T. TO mscreen
  368.         @ 6, 0 CLEAR
  369.         @ 12,21 SAY 'Do you want screen or printer output ?'
  370.         @ 14,31 SAY 'Press S or P [ ]'
  371.         SET COLOR TO &mcinverse
  372.         @ 12,33 SAY 'S'
  373.         @ 12,43 SAY 'P'
  374.         @ 14,37 SAY 'S'
  375.         @ 14,42 SAY 'P'
  376.         STORE " " TO msel
  377.         SET COLOR TO &mcread
  378.         @ 14,45 GET msel PICT "!" VALID( msel $ "SPsp")
  379.         READ
  380.         STORE UPPER(msel) TO mprt
  381.         SET COLOR TO &mcnormal
  382.         DO GETTYPE WITH 'display'
  383.         STORE UPPER(msel) TO mtype
  384.         IF mprt = 'S'
  385.            DO DHEM
  386.         ELSE
  387.            DO PHEM
  388.         ENDIF
  389.      CASE mopt='V'
  390.         DO VHEM
  391.      CASE mopt='T'
  392.         IF helpflag
  393.           helpflag = .F.
  394.           @  4,75 SAY 'off.'
  395.         ELSE
  396.           helpflag = .T.
  397.           @  4,75 SAY 'on. '
  398.         ENDIF
  399.      CASE mopt='Q'
  400.         CLOSE DATABASES
  401.         SET TALK ON
  402.         SET ESCAPE ON
  403.         SET BELL ON
  404.         SET SAFETY ON
  405.         CLEAR ALL
  406.         CLEAR SCREEN
  407.         RETURN
  408.    ENDCASE
  409. ENDDO while .t.
  410. ********************************* >> procedures << *******************
  411.  
  412. PROCEDURE GETTYPE
  413. PARAMETERS mlabel
  414. * determines type of media to use
  415.  
  416. STORE UPPER(msel) TO mopt
  417. @  6, 0 CLEAR
  418. @  8,25 SAY 'Entertainment types to '+ mlabel + '.'
  419. SET COLOR TO &mcinverse
  420. @ 10,31 SAY 'C'
  421. @ 12,39 SAY 'D'
  422. @ 14,31 SAY 'R'
  423. @ 16,31 SAY 'V'
  424. @ 19,32 SAY 'C  D  R     V'
  425. SET COLOR TO &mcnormal
  426. @ 10,32 SAY 'assettes'
  427. @ 12,31 SAY 'Compact'
  428. @ 12,40 SAY 'iscs'
  429. @ 14,32 SAY 'ecords'
  430. @ 16,32 SAY 'ideo Cassettes'
  431. @ 19,26 SAY 'Press'
  432. @ 19,33 SAY ','
  433. @ 19,36 SAY ','
  434. @ 19,39 SAY ','
  435. @ 19,41 SAY 'or'
  436. @ 19,46 SAY '[ ]'
  437. IF helpflag
  438.    SET COLOR TO &mchelp
  439.    @ 21,26 SAY 'Select the entertainment type to ' + mlabel
  440.    @ 22,26 SAY 'by pressing the highlighted letter.'
  441.    @ 19,23 SAY mbra
  442.    @ 20,23 TO 21,23 DOUBLE
  443.    @ 21,23 SAY mright
  444.    @ 21,24 SAY mconn
  445.    SET COLOR TO &mcnormal
  446. ENDIF
  447. STORE " " TO msel
  448. SET COLOR TO &mcread
  449. @ 19,47 GET msel PICT "!" VALID( msel $ "CDRVcdrv")
  450. READ
  451. SET COLOR TO &mcnormal
  452. RETURN 
  453.  
  454. ************************************
  455. PROCEDURE HELP
  456. PARAMETERS p, l, v
  457. SET KEY 28 TO  && disable the F1 key
  458. tempcolor = SETCOLOR()   && save screen colors
  459. SAVE SCREEN              && and screen
  460. * print message
  461. SET COLOR TO &mcwarn
  462. SET CURSOR OFF
  463. @  5,25 CLEAR TO 22,75
  464. @  5,25 TO 22,75 DOUBLE
  465. @  7,29 SAY "Active program helps are not available"
  466. @  8,29 SAY "in this program."
  467. @ 11,29 SAY "To get on screen help use the T option"
  468. @ 12,29 SAY "at the main menu, this will toggle the"
  469. @ 13,29 SAY "screen help prompts."
  470. @ 16,29 SAY "For helpful information on general"
  471. @ 17,29 SAY "program operation select the V option"
  472. @ 18,29 SAY "from the main menu."
  473. INKEY(20)                && wait 20 seconds
  474. SET KEY 28 TO HELP       && enable F1 key
  475. SET COLOR TO &tempcolor  && return to orginial color
  476. RESTORE SCREEN
  477. SET CURSOR ON
  478. RETURN
  479. ****************************************************
  480.  
  481. PROCEDURE RENTX
  482. * will rebuild index files if missing
  483. USE HEM
  484. IF .NOT. FILE('HEMIA.NTX')
  485.    INDEX ON Artists + Title TO HEMIA
  486. ENDIF
  487.  
  488. IF .NOT. FILE('HEMIC.NTX')
  489.    INDEX ON Cat + Title TO HEMIC
  490. ENDIF
  491.  
  492. IF .NOT. FILE('HEMIR.NTX')
  493.    INDEX ON Refnum TO HEMIR
  494. ENDIF
  495.  
  496. IF .NOT. FILE('HEMIT.NTX')
  497.    INDEX ON Title TO HEMIT
  498. ENDIF
  499. USE
  500. RETURN
  501.  
  502. PROCEDURE MOVE
  503.  
  504. @ 23,28 SAY 'Press C to continue........'
  505. STORE " " TO msel
  506. @ 23,55 GET msel VALID( msel $ "Cc")
  507. READ
  508.  
  509.