home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP13_2.PRG ⌐ª
- *⌐ª Function: ╩╣╙├ READ CYCLE ╡≈╙├╫└├µ╕¿╓·╣ñ╛▀ - ─Ω└·╓╨╓╕╢¿╡─ ⌐ª
- *⌐ª ╚╒╞┌╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- CLEAR
- SET TALK OFF
- SET CENTURY ON
- * ╢¿╥σ╥╗╕÷╩²╛▌┬╝╚δ┤░┐┌ entry
- DEFINE WINDOW entry FROM 1,1 TO 9, 30 COLOR SCHEME 7 ;
- TITLE " ╩²╛▌┬╝╚δ┤░┐┌ "
- ACTIVATE WINDOW entry
- stuff_date = .F.
- @ 1,2 SAY "╔╠╞╖┤·┬δ:" GET other default " "
- @ 3,2 SAY "╩Σ╚δ╚╒╞┌:" ;
- GET this_date ;
- WHEN ! stuff_date OR getdate() VALID vdate() ;
- ERROR " ╒Γ╥╗╚╒╞┌▓╗─▄╩╟┐╒░╫! " DEFAULT {} ;
- PICTURE "@K"
- @ 5,2 SAY "╧Ω╧╕╦╡├≈:" GET something default " "
- READ CYCLE
-
- RELEASE WINDOW entry
- RETURN
-
- FUNCTION vdate
- *a=_curobj
- mreturn = .T.
- IF EMPTY(this_date)
- KEYBOARD "{ALT+S}d"
- stuff_date = .T.
- _CUROBJ = _CUROBJ
- mreturn = .F.
- ENDIF
- RETURN mreturn
-
- FUNCTION getdate
- IF EMPTY(this_date)
- this_date = _DIARYDATE
- stuff_date = .F.
- ENDIF
- RETURN .T.