home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP8_4.PRG ⌐ª
- *⌐ª Function: ╩╣╙├╧┬└¡▒φ┴╨ Lists ╡─╖╢└² ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- CLEAR ALL
- SET COLOR TO W/N
- CLEAR
-
- DIMENSION marray(1,5)
- count=ADIR(marray,"*.PRG")
- * ╩╣╙├ ADIR() ║»╩²░╤╡▒╟░─┐┬╝╧┬╡─ *.PRG ╬─╝■╡─╩⌠╨╘┤µ╙┌╩²╫Θ marray ╓╨
- * ADIR() ╗ß╫╘╢»╡≈╒√╩²╫Θ marray ╡─┤≤╨í
- =ASORT(marray)
- DIMENSION poparray(count)
- FOR I=1 TO ALEN(marray,1)
- poparray(I)=PADR(marray(I,1),14)+;
- PADR(STR(marray(I,2),6),8)+;
- PADR(DTOC(marray(I,3)),10)+;
- PADR(marray(I,4),10)+;
- PADR(marray(I,5),3)
- ENDFOR
-
- DEFINE POPUP mypop FROM 0,0 ;
- FOOTER "<< ╩╣╙├╩≤▒Ω╗≥╝ⁿ┼╠╤í╘± >>" ;
- MARK CHR(16) ;
- MARGIN ;
- SCROLL ;
- SHADOW ;
- TITLE "<< │╠╨≥╤í╘±▒φ >>";
- COLOR SCHEME 9
-
- FOR J=1 TO ALEN(poparray)
- * ░╤╩²╫Θ╡─╕≈╘¬╦╪╫¬╗╗╬¬▓╦╡Ñ mypop ╡─╤í╧ε
- DEFINE BAR J OF mypop PROMPT (poparray(J))
- ENDFOR
- @ 5,12 GET choice POPUP mypop ;
- DEFAULT (poparray(1)) ;
- SIZE 15,53 ;
- VALID checking(choice)
- READ CYCLE
-
- RELEASE POPUPS mypop
- USE
- CLEAR
- RETURN
-
- FUNCTION checking
- PARAMETER mychoice
- PRIVATE mychoice,myfile
- myfile=SUBSTR(mychoice,1,AT(".",mychoice)+3)
- USE SYS
- DEFINE WINDOW editwin FROM 0,0 TO 23,79 ;
- FOOTER (myfile) ;
- TITLE "<< Σ»└└┤░┐┌ >>" ;
- FLOAT ;
- GROW ;
- SHADOW ;
- ZOOM ;
- COLOR SCHEME 5
-
- APPEND MEMO sysmem FROM (myfile) OVERWRITE
- MODIFY MEMO sysmem NOEDIT WINDOW editwin
- RELEASE WINDOWS editwin
- RETURN .T.