Go to Post Never underestimate the power of curious and impatient FIRSTers ;) - kpugh [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 18-02-2003, 16:50
PhatalEphekt PhatalEphekt is offline
Registered User
#0935 (RaileRobotics)
 
Join Date: Jan 2003
Location: Newton, KS
Posts: 27
PhatalEphekt is on a distinguished road
Getting program from RC

Does anyone know of a way to get the program from the RC. We need to check something, and have changed the program since then.

Scott
  #2   Spotlight this post!  
Unread 18-02-2003, 16:50
Coach C's Avatar
Coach C Coach C is offline
Registered User
#0341 (Miss Daisy)
 
Join Date: Nov 2002
Location: Wissahickon High School
Posts: 13
Coach C is an unknown quantity at this point
I do not know of any PBASIC decompiler, but one could definately exist.
  #3   Spotlight this post!  
Unread 18-02-2003, 17:22
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
I could be wrong but I dont believe there is any way to get the code from the RC. When the code is tokenized the variables all "point" to a memory location. They loose there names as do any aliases. Any remarks are ignored so they wont be on the RC, nor will any formatting (line spacing, section lables, etc). Assuming you could get the code back from the RC it would probably be very difficult to read, especially if your like me and have no programming experience outside of first.
__________________
GodBless America
September 11, 2001... NEVER FORGET!
All Gave Some. Some Gave All. How much are you willing to give?
FDNYPD
  #4   Spotlight this post!  
Unread 18-02-2003, 17:41
PhatalEphekt PhatalEphekt is offline
Registered User
#0935 (RaileRobotics)
 
Join Date: Jan 2003
Location: Newton, KS
Posts: 27
PhatalEphekt is on a distinguished road
Thanks guys,
I actually found out that one other team member had the code, so were good to go, but I'll post anything if I find a decompiler of some sorts.

Scott
  #5   Spotlight this post!  
Unread 18-02-2003, 17:44
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
AFAIK the previous posters are correct, you cannot get the code from the RC and decompile it.

I hope everyone learns a lesson from this. Whenever you make significant changes to the code, back it up first. Either use version numbers in the file name or use the date. That way you can always go back to code that works and you can see what changes you made that may have broken the code. This is the method we've used in years past.

This year we're using version control software (CVS) instead of saving backup copies. We commit the code whenever we make significant progress and label it when we reach milestones. We can easily & quickly look through the file's history log and we can see the changes between any two versions. Experiment with CVS after the season and use it for next year's software. It's worth the initial learning curve. http://www.cvshome.org/
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
2-week FIRST summer program @ WPI ColleenShaver General Forum 20 31-05-2009 03:02
initialization program and speed controllers rosebud Programming 15 05-10-2004 03:35
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
Ahh! Program trick confusing! archiver 2001 9 24-06-2002 02:26
Credits for FIRST program. archiver 2000 6 24-06-2002 00:16


All times are GMT -5. The time now is 18:00.

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