1. walkdir in reverse?
- Posted by rudy toews <rltoews at ilos.net> Dec 09, 2002
- 394 views
hi all, i had been using Dir95 to create a list of files i could access in reverse order. walkdir doesn't seem to allow traversing the files in reverse order so i don't use it. i would first create the list with Dir95 then read it in reverse order. sometimes i use the file info too,also use it to check existence of files/directorys. but now in trying to convert to windows code, Dir95 error occurs with allocate_low. i am still trying to learn windows, using winlib,ide15,eugrid,edsgui and ewingui. my mind is stuck in the days of flowcharts,psuedocode,non-event coding. creating dos functions first, then linking buttons to the functions to create a visual front end is originally what i wanted. staying away from 'c' and winapi code too. keep up the good works ,everyone. rudy lotterywars
2. Re: walkdir in reverse?
- Posted by xanax at bellsouth.net Dec 09, 2002
- 380 views
Yeah, take a look at Euman's Dir( ) routine http://www.rapideuphoria.com/dir232.zip or, http://www.rapideuphoria.com/effm.zip to actually see the code in action.... If you need help making it work for you let me know. Uses some API code to function but can easily be made to use the built-in dir( ) :-0 Xanax ----- Original Message ----- From: "rudy toews" <rltoews at ilos.net> To: "EUforum" <EUforum at topica.com> Sent: Monday, December 09, 2002 4:03 PM Subject: walkdir in reverse? : : : hi all, : i had been using Dir95 to create a list of files i could access in : reverse order. walkdir doesn't seem to allow traversing the files in : reverse order so i don't use it. : i would first create the list with Dir95 then read it in reverse order. : sometimes i use the file info too,also use it to check existence of : files/directorys. : but now in trying to convert to windows code, Dir95 error occurs with : allocate_low. : i am still trying to learn windows, using winlib,ide15,eugrid,edsgui and : ewingui. : my mind is stuck in the days of flowcharts,psuedocode,non-event coding. : creating dos functions first, then linking buttons to the functions to : create a visual front end is originally what i wanted. : staying away from 'c' and winapi code too. : : keep up the good works ,everyone. : : rudy : lotterywars : : : :
3. Re: walkdir in reverse?
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Dec 09, 2002
- 400 views
>From: xanax at bellsouth.net >Subject: Re: walkdir in reverse? > > >Yeah, take a look at Euman's Dir( ) routine >http://www.rapideuphoria.com/dir232.zip > >or, > >http://www.rapideuphoria.com/effm.zip >to actually see the code in action.... > >If you need help making it work for you let me know. Smart newbie, eh? ;) >Uses some API code to function but can easily be made >to use the built-in dir( ) > >:-0 > >Xanax > >----- Original Message ----- >From: "rudy toews" <rltoews at ilos.net> >To: "EUforum" <EUforum at topica.com> >Sent: Monday, December 09, 2002 4:03 PM >Subject: walkdir in reverse? > > >: >: >: hi all, >: i had been using Dir95 to create a list of files i could access in >: reverse order. walkdir doesn't seem to allow traversing the files in >: reverse order so i don't use it. >: i would first create the list with Dir95 then read it in reverse order. >: sometimes i use the file info too,also use it to check existence of >: files/directorys. >: but now in trying to convert to windows code, Dir95 error occurs with >: allocate_low. >: i am still trying to learn windows, using winlib,ide15,eugrid,edsgui and >: ewingui. >: my mind is stuck in the days of flowcharts,psuedocode,non-event coding. >: creating dos functions first, then linking buttons to the functions to >: create a visual front end is originally what i wanted. >: staying away from 'c' and winapi code too. >: >: keep up the good works ,everyone. >: >: rudy >: lotterywars >: >: >: >: Euphoria Instant Messenger Have YOU Joined? http://groups.yahoo.com/group/euim/
4. Re: walkdir in reverse?
- Posted by Robert Craig <rds at RapidEuphoria.com> Dec 09, 2002
- 387 views
rudy writes: > walkdir doesn't seem to allow traversing the files in > reverse order so i don't use it. You can change the sorting order by setting the global variable my_dir. See the manual for walk_dir() and look at file.e. > but now in trying to convert to windows code, > Dir95 error occurs with allocate_low. The concept of "low" memory is purely a DOS thing. On Windows, use allocate(). Neither allocate_low() nor DOS interrupts are supported by Euphoria for Windows. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com