Page 2 of 2
Posted: Tue Mar 21, 2006 1:51 pm
by Fangbeast
Dare2 wrote:Fangs will be pleased ..

/me sends Dare2 the Sydney swans to mess up his house and squish him like a bug. They mess up his house, drink all his beer, leave sweat stains on everything and they sit on him repeatedly.
Posted: Tue Mar 21, 2006 1:53 pm
by Dare2
lol.
Sounds like me mates.
Posted: Tue Mar 21, 2006 2:06 pm
by STU-ASI
ok using beta 7
The program hangs while trying to read a line from the file created.
Line 81 is the problem when using beta 7.
While Eof(file)=0 And found=0
text$=LCase( ReadString(file) ) ----- This is line that causes lock
found=FindString(text$,search$,1)
If tag>0 And FindString(text$,tag$(tag),1)
ProcedureReturn "ENDTAG"
EndIf
Wend
Posted: Tue Mar 21, 2006 2:11 pm
by STU-ASI
ok using beta 7 causes different probs.
yes change the openwindow will compile which i know as already tried under beta 7.
The problem that beta 7 creates is that same code will lock.
Line 81 is the culprit..
Code: Select all
While Eof(file)=0 And found=0
text$=LCase( ReadString(file) ) ; This is the problem line in b7
found=FindString(text$,search$,1)
If tag>0 And FindString(text$,tag$(tag),1)
ProcedureReturn "ENDTAG"
EndIf
Wend
I have tried code under diff beta of pb. And currently b3 is working ok, apart from refresh prob.
That is why i have stayed with that version for moment
Posted: Tue Mar 21, 2006 2:21 pm
by Fangbeast
STU-ASI wrote:ok using beta 7 causes different probs.
yes change the openwindow will compile which i know as already tried under beta 7.
The problem that beta 7 creates is that same code will lock.
Line 81 is the culprit..
Code: Select all
While Eof(file)=0 And found=0
text$=LCase( ReadString(file) ) ; This is the problem line in b7
found=FindString(text$,search$,1)
If tag>0 And FindString(text$,tag$(tag),1)
ProcedureReturn "ENDTAG"
EndIf
Wend
I have tried code under diff beta of pb. And currently b3 is working ok, apart from refresh prob.
That is why i have stayed with that version for moment
Do you have a Catver.ini file I could test this with? (or whatever file I need to test this with) I suspect it might be that you are trying to read from a file that is either not opened properly or is truncated but I can't be sure.
send it to
fangbeast@gmail.com and I'll bash it soundly over the head.
**EDIT** Never mind, found one I think
Posted: Tue Mar 21, 2006 2:34 pm
by STU-ASI
i have emailed catver.ini file to test.
But the other file is generated from mame.exe
Download from mame.net
All code & programs working with beta 3 so this is a new bug from beta 7.
Posted: Tue Mar 21, 2006 8:05 pm
by STU-ASI
The problem with beta 7 is the ReadString() command.
Posted report of this bug in bug forum.
So back to beta 3 for now...
Until Beta 8 that is.
