AW: Easy enigma

"Lüth, Carsten" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Hi Valery,

little bug in your script?
  $i += 1 <- doesn't work on my PC!
  $i = $i+1 <- works ;-)

@All: Do anybody know why the answer is: 223 ?

Mit freundlichem Gruß / With kind regards 

Fielmann AG 

Carsten Lüth 
IT - Desktop Services
Weidestraße 118a 
22083 Hamburg 
Telefon: +49 - (0) 40 - 2 70 76 - 199 
mailto:[email protected] 



-----Ursprüngliche Nachricht-----
Von: valery_vi [mailto:[email protected]] 
Gesendet: Freitag, 20. Oktober 2006 10:48
An: [email protected]
Betreff: Re: [AutoIt] Easy enigma



>
> No, Carsten!
> 
> Try this for valid and formated floppy
> 
> $i = 0
> While 1
>  $file = FileOpen('a:\' & $i, 2)
>  if $file = -1 then 
>    MsgBox(0,'ZeroFile','#LastFile = ' & $i)
>    exit
>  endif
>   FileClose($file)
>  $i += 1
> wend
> 
> :-)
> 
> BTW. Other Q. Depend the result on file names?
> 
> Valery
> 
> 
> --- In [email protected], "Lüth, Carsten" <c.lueth@>
> wrote:
> >
> > Hello Valery,
> > 
> > 65536 files in the root directory (I believe).
> > 
> > Mit freundlichem Gruß / With kind regards
> > 
> > Fielmann AG
> > 
> > Carsten Lüth
> > IT - Desktop Services
> > Weidestraße 118a
> > 22083 Hamburg 
> > Telefon: +49 - (0) 40 - 2 70 76 - 199 
> > mailto:c.lueth@ 
> > 
> > 
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: valery_vi [mailto:shehrer1@]
> > Gesendet: Freitag, 20. Oktober 2006 09:36
> > An: [email protected]
> > Betreff: [AutoIt] Easy enigma
> > 
> > 
> > How much files can I create on floppy disk (1.44 Mb)? Every file
> in 0
> > bytes in size.
> > 
> > Any ideas?
> > 
> > Valery
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> >
>





 
Yahoo! Groups Links





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AutoItList/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AutoItList/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.