View Single Post
  #2   Spotlight this post!  
Unread 17-10-2001, 02:37
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
I think that would be a great idea.

We could have joystick classes so the varible names could be port1.y, port1.x, port1.trig, etc. and there could be functions such as port1.deadZone().

Also the if...then...goto statements get VERY confusing in PBASIC. Usually you write an if statement so that when it is true, it performs the actions below. However, in PBASIC just the opposite is true, which can be especially confusing to new programmers. The basic C++ if statements, for loops, and while loops would make programming so much easier, not to mention the functions and classes (which I'm convinced could be translated into PBASIC by the compiler somehow).

Anyway, I don't know Visual c++ or visual basic that well so I don't think I could be that much of a help. Just a thought, what if we could somehow produce a software package that included a scoring program for the current year's game, a dashboard program, and the c++/PBASIC compiler thingy. That would be neat.