Go to Post You don't just click and drag the "Swerve drive go roundy roundy" VIs from the palette onto the canvas? - marshall [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-13-2003, 05:53 PM
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
Unhappy 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?

Last edited by n[ate]vw : 01-13-2003 at 05:57 PM.
  #2   Spotlight this post!  
Unread 01-13-2003, 07:00 PM
GMitchell GMitchell is offline
Registered User
#0814 (MegaForce Squadron)
 
Join Date: Jan 2003
Location: Napa, California
Posts: 7
GMitchell is an unknown quantity at this point
"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.
__________________
- Griffin Mitchell
Mentor, Team 814
Gilmore Foundation and New Technology High School
Napa, California

"I think that what the woods lacks in internet connectivity it makes up for in dirt and bears." - Dante (Angst Technology - www.inktank.com)
  #3   Spotlight this post!  
Unread 01-13-2003, 07:00 PM
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Did you add the {$PBASIC 2.5} directive?
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
ôLife should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #4   Spotlight this post!  
Unread 01-13-2003, 07:04 PM
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
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.
  #5   Spotlight this post!  
Unread 01-13-2003, 07:19 PM
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
Talking

*Sheepish grin* ....no.

Thanks alot!


Update: I added the directive and now it works!! *now-excited grin*
__________________
Adler Attack #933 -- Trigos

Last edited by n[ate]vw : 01-13-2003 at 07:24 PM.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PBasic 2.5 vs. 2.0 Anthony Kesich Programming 6 02-09-2003 09:06 PM
Broken PBASIC 2.5 Complier? Mike Yan Programming 12 02-01-2003 08:11 AM
RoboEmu 1.09 (supports PBASIC 2.5) rbayer Programming 22 01-21-2003 04:22 PM
PBASIC 2.5 Questions Noah Programming 6 01-10-2003 06:26 PM
PBASIC 2.5 answer from Parallax JasonS Programming 6 01-07-2003 06:21 PM


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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