? It's possible to define specific memlocs in the DNA right? So if I want a dutch version of main sysvars I could do:
def voor 1
def achter 2
def schiet 7
Because these are translations...
Is that possible or can one only define undefined memlocs?
Henk :help:
That should work actually. The sysvar defines what words are turned into what numbers. I don't think there's anything that would stop that from working.
It will work and it won't work!
What actually happens is that you
will be allowed to define system variables in this way but when the program decodes it to display the DNA in the robot details window or saves the DNA file then all instances where you used your defined variable instead of the sysvars equivalent, will be shown as the sysvars version.
For example try running this simple little test bot.
def testword 1
cond
start
10 .testword store
stop
end
Run it and you will see the robot moves forward just as if you had stored the value into .up
Now double click a robot and look at its DNA. It looks like this now.
cond
start
10 .up store
stop
end
Your custom variable has been translated back to the sysvar equivalent automatically.