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.

FPSC Classic Product Chat / [LOCKED] Cannot get anything to work

Author
Message
Raybrite2
15
Years of Service
User Offline
Joined: 16th May 2009
Location: Cyberspace
Posted: 10th Jun 2009 07:02 Edited at: 10th Jun 2009 07:06
I am using DB lite and going through the tutorials. I couldn't get the If statement to work.
Now I get a syntax error when I type
v=0
DO
(Syntax error. Not recognized)

I get this as soon as I do enter after typing DO.
I had the same thing when trrying the If statement
IF A = B
(syntax error)
What am I doing wrong?

This is edited. I put it in the wrong forum. Should have been the Dark Basic Forum. Sorry.
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 10th Jun 2009 07:29
Like your edit says wrong board but hey that doesn't stop me from helping, can you post the full code for me.

Raybrite2
15
Years of Service
User Offline
Joined: 16th May 2009
Location: Cyberspace
Posted: 10th Jun 2009 07:38
It says type in
v=0
DO
LINE 0,v,v,480
v-v+1
LOOP

With the If command I just put
A#=3
B#=4
IF A = B
PRINT "Okay"
END
I get the error after typing the DO line ans hitting enter. I also get it when I type in the IF command and hit enter.

I also started this thread while you were typing on the Dark Basic forum so you may want to use that one.
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 10th Jun 2009 07:47
Quote: "
I also started this thread while you were typing on the Dark Basic forum so you may want to use that one."


Ok responded to that thread.

Login to post a reply

Server time is: 2024-10-12 15:26:57
Your offset time is: 2024-10-12 15:26:57