Page 32 of 104
Posted: Sat Aug 05, 2006 8:32 am
by Shannara
Running 3.6.7.550. Btw, this is the newest version at this time as I just downloaded it as I wrote this post. However, the thread topic states 3.6.8 .. Any chance to upload that version?
Anyhow, This version and the previous ... when Auto-declare is set to true, japbe will not allow you to compile/run/debug any program that has a procedure which references a pointer to a structure ... example ...
Code: Select all
Structure stSprite
Surf2D.l
EndStructure
Procedure Test(*Sprite.stSprite)
; foo bar code
EndProcedure
The above will not compile a japbe gives the following error:
Structure not found: stSprite
Even though it is there. After that error popups, there is line after line of Timeout(###) errors in the status screen, and it continues until either out of memory or close of japbe.
Posted: Sat Aug 05, 2006 10:23 am
by gnozal
Shannara wrote:Running 3.6.7.550. Btw, this is the newest version at this time as I just downloaded it as I wrote this post. However, the thread topic states 3.6.8 .. Any chance to upload that version?

The download is 3.6.8.555 (just tested).
Shannara wrote:Anyhow, This version and the previous ... when Auto-declare is set to true, japbe will not allow you to compile/run/debug any program that has a procedure which references a pointer to a structure ...
I have pasted your example code in jaPBe.
It runs ( F5/F6/F7 ) without error !? And I checked 'Create Declare files' in Project options ( F8 ).
Posted: Sat Aug 05, 2006 10:26 am
by nicolaus
@gnozal
first thanks for the new version of jaPBe!
But with the version 3.6.8 i have a big prob now.
I start jaPBe after update to 3.6.8 and all files load wat wars open at the last session of jaPBe.
Now i write a new Procedure in my code and declare the procedure.
ok now i want test it an d press F6. jaPBe compiled but don´t start the debuger or the program. The same prob is with F5.
And also i can´t create a exe now!
I have NO errormessages. jaPBe compiled and thats all. No exe file or debug or so.
Posted: Sat Aug 05, 2006 10:35 am
by gnozal
nicolaus wrote:@gnozal
first thanks for the new version of jaPBe!
But with the version 3.6.8 i have a big prob now.
I start jaPBe after update to 3.6.8 and all files load wat wars open at the last session of jaPBe.
Now i write a new Procedure in my code and declare the procedure.
ok now i want test it an d press F6. jaPBe compiled but don´t start the debuger or the program. The same prob is with F5.
And also i can´t create a exe now!
I have NO errormessages. jaPBe compiled and thats all. No exe file or debug or so.
I don't understand ....
no problems here !
And what if you close all files ; quit jaPBe ; restart jaPBe ; reload your files ?
Posted: Sat Aug 05, 2006 10:36 am
by nicolaus
I have found the prob.
In my new Procedure i hafe add the following code
and you see i have forget the "," befor the "Date()".
But jaPBe 3.6.8 shows me no errormessages and say "Compiled... finished" with F5, F6, F7.
Hope it helps you.
regards,
Nico
Posted: Sat Aug 05, 2006 10:41 am
by gnozal
If I paste this code
I get a ''Date is not a valid operator" compiler error ...
Posted: Sat Aug 05, 2006 10:58 am
by nicolaus
gnozal wrote:If I paste this code
I get a ''Date is not a valid operator" compiler error ...

in my procedure i don´t get a compiler error

Posted: Sat Aug 05, 2006 11:07 am
by gnozal
nicolaus wrote:gnozal wrote:If I paste this code
I get a ''Date is not a valid operator" compiler error ...

in my procedure i don´t get a compiler error

Ok, maybe it's this annoying 'lost compiler events' problem ?
I will try to fix this. Please copy the problematic source to a safe place so you can test the fixed version.
Posted: Sat Aug 05, 2006 11:57 am
by gnozal
Posted: Sat Aug 05, 2006 1:18 pm
by Flype
Hello gnozal,
Can you had this constants in this file :
jaPBe/Definitions/Ref-PureBasic.txt
Code: Select all
PB_Compiler_OS
PB_Compiler_Date
PB_Compiler_File
PB_Compiler_Line
PB_Compiler_Version
PB_Compiler_Home
PB_Compiler_Debugger
PB_Compiler_Thread
PB_Compiler_Unicode
thanx
Posted: Sat Aug 05, 2006 6:09 pm
by Shannara
nicolaus:
Do you happen to run windows xp? jaPBe has some some problems running in XP.
Gonzal:
Hmm, you must be clicking elsewhere. I just downloaded from the link you just posted.
log window states:
Welcome to jaPBe 3.6.7.550 for 4.00 (Detect 4.00).
about screen states:
3.6.7.550.
The filedate is 7/28/2006 9:00.
Please provide download for newest version. Thanks!
Posted: Sat Aug 05, 2006 11:49 pm
by chen
Shannara wrote:nicolaus:
Gonzal:
Hmm, you must be clicking elsewhere. I just downloaded from the link you just posted.
log window states:
Welcome to jaPBe 3.6.7.550 for 4.00 (Detect 4.00).
I just download jaPBe using link from the first page... version 3.6.8.556
Posted: Sun Aug 06, 2006 3:00 am
by Shannara
I see the problem. Gnozal keeps posting the wrong link. The link he posted above has the old version. The one found @
http://people.freenet.de/gnozal/jaPBeForPB400.zip is the correct version. He keeps posting the "beta" link which always is the wrong version. Now I understand. I downloaded from the other link .. and it contains the newest version.
BTW: that new version did not fix the structure bug. However, it now allows you to compile if you do not use any declares. Thanks for the partial fix

Hope the rest happens for the next version

I'll try to see if it fixes the pb compiler patch bug.
Posted: Sun Aug 06, 2006 10:34 am
by gnozal
Shannara wrote:I see the problem. Gnozal keeps posting the wrong link.
The jaPBe links :
jaPBe V3 http://people.freenet.de/gnozal/jaPBeForPB400.zip
Sources http://people.freenet.de/gnozal/jaPBeForPB400.7z
Last BETA [EXE only] http://people.freenet.de/gnozal/jaPBeForPB400_beta.zip (May not be always available)
Explanation :
the first link is always the latest 'stable' version ; sometimes, there is a 'beta' version to test some new features or bug fixes.
Posted: Sun Aug 06, 2006 10:37 am
by gnozal
Flype wrote:Hello gnozal,
Can you had this constants in this file :
jaPBe/Definitions/Ref-PureBasic.txt
thanx
Sure ; for the next version.