- Messages
- 611
- Country

Hi,
I'm building a SafeDock System right now and ran into a problem yesterday.
As in Arno's Docking System, I used a STOPDISTANCE constant.
I set "STOPDISTANCE EQU 20".
Now, some lines later in the code, after the particular Aircraft Recognition checks, I want to change the value of the Stopdistance, example:
The compiler doesn't take it and returns "redefine of symbol blablabla". Hmm, constant must have to stay constant
So, is there a way to assign a new value to a variable? Or should I make it with local variables? Any hints?
Jeff
I'm building a SafeDock System right now and ran into a problem yesterday.
As in Arno's Docking System, I used a STOPDISTANCE constant.
I set "STOPDISTANCE EQU 20".
Now, some lines later in the code, after the particular Aircraft Recognition checks, I want to change the value of the Stopdistance, example:
Code:
IFIN1 b777, usrvr4, ....
STOPDISTANCE EQU 30
....
So, is there a way to assign a new value to a variable? Or should I make it with local variables? Any hints?
Jeff
