Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / perform checklist for files don't work perfectly ??

Author
Message
CaptainOuais
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 28th Oct 2002 12:15
perform checklist for files
limite=checklist quantity()
find first

I have 9 files , db pro found 11 with checklist quantity() and only 5 with find firt !!!
what the probleme is ???
Cpt-Ouais !!!!
ChipOne
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Canada
Posted: 28th Oct 2002 23:42
it is probably also including the current directory and the parent directory links. you can verify this by looping through and printing out the file names using:
FIND FIRST
FIND NEXT
and
GET FILE NAME$()

cheers

-= i only do what my rice krispies tell me to do =-
CaptainOuais
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 30th Oct 2002 22:50
that's what i do ....

set dir "tableau"
hide sprite 1
nombredetablo=0:nom$="":boucle=1:limite=0
perform checklist for files
limite=checklist quantity()
find first
ima=0

_consultation:
nom$=get file name$()
if nombredetablo=25 then goto _chargeaffi
if boucle=limite then goto _chargeaffi
if right$(nom$, 4)=".DIA" or right$(nom$, 4)=".dia" then liste$(nombredetablo)=nom$: inc nombredetablo
find next

inc boucle
goto _consultation

some file don't appear , help
Cpt-Ouais

CaptainOuais
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 30th Oct 2002 22:55
oups , i think i have found why ...


hihihi, hurry my pills green ....

Cpt-Ouais :p

Login to post a reply

Server time is: 2024-04-26 10:03:13
Your offset time is: 2024-04-26 10:03:13