home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP8_8.PRG ⌐ª
- *⌐ª Function: ╟╢╠╫╡─ READ ╡─╩╣╙├╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- CLEAR
-
- PUSH KEY CLEAR
- * ╢¿╥σ F3 ╬¬╡≈╙├╧╘╩╛ READ ╟╢╠╫▓π╩²╫╙│╠╨≥╡─╚╚╝ⁿ
- ON KEY LABEL F3 DO showlevel IN EXP8_8.PRG
- @ 2,2 SAY "Read ▓π╩²: " + STR(RDLEVEL())
- @ 4,2 GET level1 VALID(proc1()) DEFAULT 1
- READ SHOW showlevel() && READ ▓π╩² 1
- POP KEY
-
- PROCEDURE proc1
- @ 6,2 GET level2 VALID(proc2()) DEFAULT 2
- READ SHOW showlevel() && READ ▓π╩² 2
- RETURN ""
-
- PROCEDURE proc2
- @ 8,2 GET level3 VALID(proc3()) DEFAULT 3
- READ SHOW showlevel() && READ ▓π╩² 3
- RETURN ""
-
- PROCEDURE proc3
- @ 10,2 GET level4 VALID(proc4()) DEFAULT 4
- READ SHOW showlevel() && READ ▓π╩² 4
- RETURN ""
-
- PROCEDURE proc4
- @ 12,2 GET level5 DEFAULT 5
- READ SHOW showlevel() && READ ▓π╩² 5
- RETURN ""
-
- FUNCTION showlevel
- @ 2,2 SAY "Read ▓π╩²: " + STR(RDLEVEL())
- RETURN .T.