Go to Post The function of that part is to keep one student occupied playing with it during the entire build season. It doesn't have to be the same student all the time, they can take turns. - MrForbes [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 30-01-2003, 16:56
mjt902 mjt902 is offline
Registered User
#0902
 
Join Date: Apr 2002
Location: Heritage High School
Posts: 31
mjt902 is an unknown quantity at this point
Help me download

OK, I admit. I am retarded;
i THINK I downloaded PB 2.5 but the new if then logic doesn't work on it and it says blahblah...2.0 beta maybe i missed something but i don't know. i'm supposed to have stuff done by tomorrow, (meaning i'll do it tomorrow) so any help or clarification would be incredible.

when i type in:

if time > 30 then time = time - 38
i get the error: "Expected a label" and it highlights 'time' (after the word 'then') which is what the old logic would expect!!!

thanks
__________________
Top Ten Reasons to Procrastinate:
1.
  #2   Spotlight this post!  
Unread 30-01-2003, 17:59
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
http://www.chiefdelphi.com/forums/sh...threadid=16514
  #3   Spotlight this post!  
Unread 31-01-2003, 13:25
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #2832
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 92
Steven Carmain will become famous soon enough
Quote:
if time > 30 then time = time - 38
I see your problem. if the time is 31, then it subtracts 38. The basic stamp can't do negative numbers. to fix it, then change the 30 to 38
__________________
2017 - Team 2832 Mentor
2016 - Team 6013 Mentor
2002-05 - Team 45 Software/Electrical

A robot is like a campfire: it takes a while to bulid it, and then everyone surounds it!
A world without standards is chaos. A world with standards is chaos.
  #4   Spotlight this post!  
Unread 31-01-2003, 15:37
mjt902 mjt902 is offline
Registered User
#0902
 
Join Date: Apr 2002
Location: Heritage High School
Posts: 31
mjt902 is an unknown quantity at this point
sorry, i misprinted in the post. it was:
if time = 38 then time = time - 38

however my error was not including:
' {$PBASIC 2.5}

thanks anywayzzz...
__________________
Top Ten Reasons to Procrastinate:
1.
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
Video driver download...WHERE? MarkF Chit-Chat 11 21-07-2003 03:29
need a website? download our web site Jeremy_Mc Website Design/Showcase 6 17-11-2002 15:46
Custom Dashboard code for LabVIEW ready for download. archiver 2001 3 24-06-2002 00:49
Team 442 ANIMATION HI REZ!! WHEE!!!! Jeremy_Mc 3D Animation and Competition 6 21-04-2002 11:49
Download Free 3-d Software from PTC Matt Reiland Inventor 1 07-03-2002 12:48


All times are GMT -5. The time now is 10:58.

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


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