home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP11_6.PRG ⌐ª
- *⌐ª Function: ON KEY= ├ⁿ┴ε╙ª╙├╡─╖╢└². ⌐ª
- *⌐ª DBF & File: SONG.DBF SONG.FPT ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET SAFETY OFF
- ON KEY=315 DO myhelp WITH PROGRAM(),VARREAD()
- * ╔Φ╢¿░┤ F1 ╝ⁿ╛═╓┤╨╨│╠╨≥ myhelp
- USE song
- COPY TO test
- USE TEST
-
- DEFINE WINDOW win1 FROM 4,16 TO 14,64 FLOAT GROW SHADOW COLOR SCHEME 5
- ACTIVATE WINDOW win1
- DO WHILE NOT EOF()
- @ 1,10 SAY "╕Φ╩╓╨╒├√: " GET singer
- @ 2,10 SAY "╕Φ╟·├√│╞: " GET songname
- @ 3,10 SAY " ╫≈┤╩: " GET word
- @ 4,10 SAY " ╫≈╟·: " GET tune
- @ 5,10 SAY "╖ó╨╨╣½╦╛: " GET company
- @ 8,10 SAY " [F1]: ╕≈╫╓╢╬╡─╕¿╓·╦╡├≈ "
- READ
- IF LASTKEY()=27
- CLOSE DATABASES
- CLEAR WINDOWS
- CLEAR ALL
- ERASE TEST.DBF
- CLEAR
- EXIT
- ENDIF
- SKIP
- ENDDO
-
- PROCEDURE myhelp
- PARAMETERS mPRO,mVAR
- DEFINE WINDOW win2;
- FROM 21,2 TO 23,77 ;
- TITLE " ╕¿╓·╦╡├≈┤░┐┌ " ;
- FLOAT ;
- SHADOW ;
- DOUBLE ;
- COLOR SCHEME 7
- SET CURSOR OFF
- ACTIVATE WINDOW win2
- @ 00,10 SAY " ╬┤╕°│÷ "+mPRO+" │╠╨≥╓╨ "+mVAR+;
- " ╫╓╢╬╜¿┴ó╡─╕¿╓·╦╡├≈╣ª─▄ "
- WAIT " ╟δ░┤╚╬╥╗╝ⁿ╝╠╨° " WINDOW TIMEOUT 10
- DEACTIVATE WINDOW win2
- SET CURSOR ON
- RETURN