Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Pbasic 2.5 ? (http://www.chiefdelphi.com/forums/showthread.php?t=16427)

n[ate]vw 13-01-2003 18:53

Pbasic 2.5 ?
 
I downloaded the 2.5alpha editor off of InnovationFirst.

However, it doesn't seem to be PBasic 2.5

I tried something like this:

if vari > 25 then vari=30

If I am not mistaken, PBASIC 2.5 was supposed to allow commands like this. However, I still get "Expected a label" when I check syntax. Same thing with a multiline command. I "Expected a little different" from this editor. The program version under "Help>About" reads "2.0 Alpha (c) 1998-2003". This is a very recent release, but is it still not what we hoped for?

GMitchell 13-01-2003 20:00

"Wisdom" From the Clueless
 
I tried exactly the same command and had no errors - are you sure you're using 2.5 code? When I drag FIRST's 2.5 code into a 2.0 editor, the commented line " ' {$PBASIC 2.5} " caused an error - could it be that you need that to jump into V. 2.5? I can't think of any reason why that would actually make any sort of difference, but it's worth a try if you don't have FIRST's commented initialization at the top of your code.

Greg Ross 13-01-2003 20:00

Did you add the {$PBASIC 2.5} directive?

Greg McCoy 13-01-2003 20:04

Quote:

Originally posted by gwross
Did you add the {$PBASIC 2.5} directive?
Yeah, I think he's right. If you are using the newest software but it thinks that you are using an old stamp it should keep you from using the newer commands.

n[ate]vw 13-01-2003 20:19

*Sheepish grin* ....no.

Thanks alot!


Update: I added the directive and now it works!! *now-excited grin*


All times are GMT -5. The time now is 04:26.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi