Working on new editor enhancements?
utopiomania
Addict
Posts: 1655 Joined: Tue May 10, 2005 10:00 pm
Location: Norway
Post
by utopiomania » Sat Nov 19, 2005 6:05 pm
Just spent some time on this, the sample is from ReadFile() in Help:
Code: Select all
If ReadFile(0,"Text.txt") ; if the file could be read, we continue...
While Eof(0) <> 0 ; loop as long the 'end of file' isn't reached
Debug ReadString() ; display line by line in the debug window
Wend
CloseFile(0) ; close the previously opened file
Else
MessageRequester("Information","Couldn't open the file!")
EndIf
The test should be:
Pupil
Enthusiast
Posts: 715 Joined: Fri Apr 25, 2003 3:56 pm
Post
by Pupil » Sat Nov 19, 2005 6:53 pm
Trond
Always Here
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Sat Nov 19, 2005 7:10 pm
This has already been fixed two times.
utopiomania
Addict
Posts: 1655 Joined: Tue May 10, 2005 10:00 pm
Location: Norway
Post
by utopiomania » Sat Nov 19, 2005 7:47 pm
Maybe it's unfixed again. I have the latest version (PureBasic_3_94_(ayay50).exe), and the Help is still wrong.
Trond
Always Here
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Sat Nov 19, 2005 8:30 pm
It has been fixed two times in the latest version of the help file and the fixed version hasn't been published yet.
Edit: by the way, the ayay50 thing is randomly generated to prevent link leaching to unregistred users.
Last edited by
Trond on Sat Nov 19, 2005 8:32 pm, edited 1 time in total.
Andre
PureBasic Team
Posts: 2148 Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:
Post
by Andre » Sat Nov 19, 2005 8:31 pm
The fix was done after the release of v3.94. So sorry.
Correct example is already in the online-help on
www.PureArea.net