Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Need Liberty Basic help (http://www.programmingforums.org/showthread.php?t=13483)

PatBenetar4Life Jul 6th, 2007 2:19 AM

Need Liberty Basic help
 
if (add = 1) Then
(my other lines of code)

whenever i try to run it it says: "BASIC Compile halted: END IF expected"
If anyone knows this language please help

ReggaetonKing Jul 6th, 2007 2:37 AM

add END IF at the bottom.
:

IF (add = 1) THEN
    'OTHER LINES
END IF


PatBenetar4Life Jul 6th, 2007 2:38 AM

*head explodes* :eek:

PatBenetar4Life Jul 6th, 2007 2:39 AM

thank you

lectricpharaoh Jul 6th, 2007 2:59 AM

Quote:

Originally Posted by PatBenetar4Life (Post 130105)
if (add = 1) Then
(my other lines of code)

whenever i try to run it it says: "BASIC Compile halted: END IF expected"
If anyone knows this language please help

First, welcome to the forum (you might want to make an intro thread before you start asking questions; then it will look more like you want to be a part of the community here). Second, if you're referring to the 'Hit Me With Your Best Shot' singer, it's Benatar, not Benetar. Third, when the error message tells you exactly what you're missing, adding in that missing something is a good place to start:
:

if (add = 1) Then
  (your other lines of code)
End If

Fourth, when posting code excerpts, try to use [code] tags, like I did above. It makes your code a lot easier to follow. Highlight what you want to put in a code block, and then click the little '#' button in the editor. Here it is, circled in red to make it obvious:http://members.shaw.ca/r.sheppard/temp/codeTags.png

PatBenetar4Life Jul 6th, 2007 6:39 PM

Will do.

DaWei Jul 6th, 2007 8:28 PM

:beard:

PatBenetar4Life Jul 6th, 2007 10:18 PM

:beard:

DaWei Jul 6th, 2007 11:30 PM

You're too new to be aware, but the original name of that smiley was :dawei:. It reflects a wondering consideration of inane or meaningless posts. I actually thought you were pledging troth to lectric, for a second there.

PatBenetar4Life Jul 6th, 2007 11:35 PM

So basically :dawei: means that you don't have a clever insult at the moment.


All times are GMT -5. The time now is 2:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC