2,561
edits
Line 105: | Line 105: | ||
So, after rebuilding the FlightGear binary, whenever you call the new "cool" API function, it will always return a "cool" string, which you could for example print out using a script like the following: | So, after rebuilding the FlightGear binary, whenever you call the new "cool" API function, it will always return a "cool" string, which you could for example print out using a script like the following: | ||
#cooltest.nas (to be saved in $FG_ROOT/Nasal) | |||
var result=cool(); | var result=cool(); | ||
print(result); | print(result); |
edits