Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Auton Vars (http://www.chiefdelphi.com/forums/showthread.php?t=35521)

BillyJ 26-02-2005 13:10

Auton Vars
 
I'm confused as to where i should declare the variables for the auton code. I kno i can't do it at the begining of my auto code because every time the loop runs the values would be resete (right?).

Would I do it in that section of user_routines or is that just for the normal vars

thoughtful 26-02-2005 14:54

Re: Auton Vars
 
you could define them at the begining of user_routines_fast.c after these lines.

Code:

#include "ifi_aliases.h"
#include "ifi_default.h"
#include "ifi_utilities.h"
#include "user_routines.h"
#include "robot.h"


/*** DEFINE USER VARIABLES AND INITIALIZE THEM HERE ***/

So put the variables under where i says define user variables


All times are GMT -5. The time now is 03:57.

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