Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / BBB GUI "Undefined Parser Error"

Author
Message
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 23rd Dec 2010 19:39
anyone else had this problem?
the only 2 commands that work for me is Get DBPro Window and Make window
This is about how far i get before it gives me a syntax error

the make button command is the one that makes it crash.

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 24th Dec 2010 23:23
well, not much code to go on, we really need to see more

Get DBPro Window - is a Matrix1 command, not a native DBPro command
w1 = make window - this must be one of your own functions?
b1 = (20,20,... - not a command at all, what is this?

You are asking for a window handle before you are making the window,
try reversing the 2nd and 3rd lines, see what happens

try making a simple example we can compile and test
thanks
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 25th Dec 2010 13:31
Oh, the b1 was supposed to be make button

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
A r e n a s
18
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 13th Feb 2011 14:26
First of all, I strongly advise you remove sync rate as his will effectively cause the buttons ect to flash on the screen after every sync.

the b1 = X is not even a command. You have a return value and list of parameters but no function there!! Heres how your snippet of code should really look like;



Heres one of my pieces of code which involves a window and a button. It has a couple of other things, but just ignore what you dont want, perhaps it will help you with what your wanting to achieve what ever that may be.



Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 13th Feb 2011 20:01
The b1 thing was a typo, i meant to type in
but i forgot for some reason. but i'll try your code right quick

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Frank C
16
Years of Service
User Offline
Joined: 3rd Jul 2010
Location: Houston TX
Posted: 14th Feb 2011 18:17
It would be best in the future if you post BBB Gui issues in the BBB Gui WIP thread:

http://forum.thegamecreators.com/?m=forum_view&t=162825&b=8

You will get quicker response and not confuse people who have not or do not use the plugin.
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 16th Feb 2011 19:59
I did. they simply told me things i already knew.

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Brendy boy
21
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 16th Feb 2011 20:35
did you fix the problem from the first post, do you still have problems with the "undefined parser error"?

KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 16th Feb 2011 20:43
I had this problem and tracked it down to there being something wrong with the DarkCLOUDS download. It managed to corrupt something in my DBPro installation.

Reinstall your downloaded DBPro installation, and install the upgrade level you want to be at, U7.7rc5 is the latest, and the parser errors should go away.

Wyldhunt
16
Years of Service
User Offline
Joined: 27th Sep 2009
Location: The Dark Side
Posted: 17th Feb 2011 03:44 Edited at: 17th Feb 2011 03:45
Quote: "U7.7rc5 is the latest"

You didn't check yesterday!
U7.7rc6 is the latest.
Here's a quick link:
http://forum.thegamecreators.com/?m=forum_view&t=180294&b=1
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 20th Feb 2011 02:23
Sorry for not answering sooner but:
@ Brendy Boy
The Problem is yet to be solved i really liked the plugin
@ KISTech
That's awesome, Hope it fixes it! Thanks!

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size

Login to post a reply

Server time is: 2026-07-17 13:59:19
Your offset time is: 2026-07-17 13:59:19