jaPBe 3.13.4 [IDE for PB 4 and PB 5]

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post 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.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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 ).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

I have found the prob.
In my new Procedure i hafe add the following code

Code: Select all

FormatDate("%dd%mm%yy"Date())
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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

If I paste this code

Code: Select all

FormatDate("%dd%mm%yy"Date())
I get a ''Date is not a valid operator" compiler error ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:If I paste this code

Code: Select all

FormatDate("%dd%mm%yy"Date())
I get a ''Date is not a valid operator" compiler error ...
:shock: in my procedure i don´t get a compiler error :shock:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:
gnozal wrote:If I paste this code

Code: Select all

FormatDate("%dd%mm%yy"Date())
I get a ''Date is not a valid operator" compiler error ...
:shock: in my procedure i don´t get a compiler error :shock:
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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post 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!
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post 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.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply