20,741
edits
No edit summary |
m (http://wiki.flightgear.org/Namespaces_and_Methods) |
||
| Line 110: | Line 110: | ||
print ( waypoint.bearing ); | print ( waypoint.bearing ); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
So, the hash represents the surrounding environment (i.e. context or "namespace") in which these symbols are valid. For more information on namespaces, please see [[Namespaces and Methods]]. | |||
Now, to make this is a little more interesting and to show what's happening, we are going to change the value of each field: | Now, to make this is a little more interesting and to show what's happening, we are going to change the value of each field: | ||