LB Booster
« LBB syntax error »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:45am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: LBB syntax error  (Read 167 times)
milfredo
New Member
Image


member is offline

Avatar




PM


Posts: 8
xx LBB syntax error
« Thread started on: Jun 30th, 2017, 07:56am »

I tried running an LB program that I have written that works in LB. But when I tried to run it in LBB I get a Syntax error. Here is the code...Can someone tell me what is wrong?

If (bigfig > (bigfig1 - 1) And bigfig > (bigfig2 - 1)) Or (bigfig > 99) Or (bigfig1 > 99) Or (bigfig2 > 99)) Then fig = fig + 4 'add points based on speed fig

Thanks,
Milfredo
User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: LBB syntax error
« Reply #1 on: Jun 30th, 2017, 08:06am »

Hello Milfredo

You have extra ")" before THEN
Load in any text editor with parenthesis matching and see.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LBB syntax error
« Reply #2 on: Jun 30th, 2017, 09:02am »

on Jun 30th, 2017, 08:06am, tsh73 wrote:
You have extra ")" before THEN

For reference, 'FreeForm' has several examples of this error which means it won't compile in LBB until they are corrected.

Richard.
User IP Logged

milfredo
New Member
Image


member is offline

Avatar




PM


Posts: 8
xx Re: LBB syntax error
« Reply #3 on: Jun 30th, 2017, 8:23pm »

Thank you.

Milfredo smiley
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls