home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP11_2.PRG ⌐ª
- *⌐ª Function: LASTKEY() ║»╩²╙ª╙├╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET SAFETY OFF
- CLOSE ALL
- IF FILE("song.dbf")
- USE song
- COPY TO test
- ELSE
- CANCEL
- ENDIF
- DEFINE WINDOW win ;
- FROM INT((SROWS()-11)/2),INT((SCOLS()-40)/2) ;
- TO INT((SROWS()-11)/2)+10,INT((SCOLS()-40)/2)+39 ;
- TITLE "▒α╝¡┤░┐┌" ;
- FLOAT ;
- NOCLOSE ;
- SHADOW ;
- DOUBLE ;
- COLOR SCHEME 5
- USE test
- CLEAR
- ACTIVATE WINDOW win
- DO WHILE .T.
- mSINGER=SPACE(LEN(singer))
- mSONGNAME=SPACE(LEN(songname))
- mWORD=SPACE(LEN(word))
- mTUNE=SPACE(LEN(tune))
- mCOMPANY=SPACE(LEN(company))
- @ 0,3 SAY "╕Φ╩╓╨╒├√: " GET mSINGER
- @ 2,3 SAY "╕Φ╟·├√│╞: " GET mSONGNAME
- @ 4,3 SAY " ╫≈┤╩: " GET mWORD
- @ 6,3 SAY " ╫≈╟·: " GET mTUNE
- @ 8,3 SAY "╖ó╨╨╣½╦╛: " GET mCOMPANY
- READ
- IF LASTKEY()=27
- CLEAR WINDOWS
- CLEAR GETS
- LIST
- CLOSE ALL
- ERASE test.dbf
- EXIT
- ELSE
- APPEND BLANK
- REPLACE singer WITH mSINGER
- REPLACE songname WITH mSONGNAME
- REPLACE word WITH mWORD
- REPLACE tune WITH mTUNE
- REPLACE company WITH mCOMPANY
- ENDIF
- ENDDO
- RETURN