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.

Author
Message
wargamer
22
Years of Service
User Offline
Joined: 7th Jan 2003
Location: United Kingdom
Posted: 19th Jan 2003 21:14
I guess many of you will have come across these 2 comment line bugs, but here goes anyway.

1. If you you put the word "as" into a comment line, the variable list still shows it as if you've declared a variable.

eg
rem if A is as big as B, run this function

will result in "is" declared as "big" (which obviously doesn't mean anything)

2. if you end a comment line in "..." the next line of code is ignored!

Now if u found that useful, can someone, PLEASE give me an answer to my earlier post on fatal XP errors ?!

mow, where's that valium gone?
ICERGB
22
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 20th Jan 2003 14:49
really?

By gosh you are right!

I thought that the ... was fixed?
Arrow
22
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 20th Jan 2003 16:12
I'l just write it as

if A > B

This is Truth!
This is my Belief!
...at least for now.
haggisman
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Jan 2003 17:49
To be honest it sounds more like an editor bug than a DBpro bug as it doesn't seem to actually effect the program, the seconed one is a feature so its not really a bug.

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 20th Jan 2003 18:24
Yeah but if you don't know it that could seriously screw with your mind! A user is quite likely to write

do
rem I'll edit this later...
x=x+1
set cursor 1,1
print x
sync
loop

And then wonder why the code doesn't work

Maybe if you add '...' then then editor should pop up a warning message, which you could obviously chose 'never tell me this again' if you allready know

wargamer
22
Years of Service
User Offline
Joined: 7th Jan 2003
Location: United Kingdom
Posted: 20th Jan 2003 18:37
Haggisman - it really DOES affect the program, that's the prob!!
Arrow
22
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 21st Jan 2003 04:56
I think he was talking about the first problem.

This is Truth!
This is my Belief!
...at least for now.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Jan 2003 14:37
As a side note, does anyone know when the compiler (and by association) the syntax checker will be improved ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Jan 2003 15:19
Ask Guy.

The second 'bug' can be avoided quite easily. Select menu 'tools/system options' and change the Concatenation symbol, or disable it.

Login to post a reply

Server time is: 2025-05-17 13:15:11
Your offset time is: 2025-05-17 13:15:11