
-----------------------------------
paintball_guy
Wed May 07, 2003 2:21 pm

Find a file?
-----------------------------------
Hey, I wanna make a program that finds a random file on your computer and then goes "POOF! I know everything about your computer mwuahahaahahah" anyway i can do the poof part but how do i get the program to just find  a random file, because if i preset which file to find, then it may not always be there.... PLEH 0
loop
    fileName := Dir.Get (streamNumber)
    exit when fileName = ""
    put fileName
end loop
Dir.Close (streamNumber)

-----------------------------------
paintball_guy
Wed May 07, 2003 8:34 pm

Thx for script
-----------------------------------
tx for script but it says "Assert condition is false" :(

-----------------------------------
Homer_simpson
Wed May 07, 2003 9:23 pm


-----------------------------------
well simply replace that with 
if streamNumber > 0  then put "directory not available"
end if
