Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Nasal Add Setter Getter

From FlightGear wiki
Jump to: navigation, search
# declare a method named setFoo
 setFoo: func(value) {
  # do your processing here
  me.value=value; 
 },

# declare a method named getFoo
 getFoo: func() {
  # do your processing here
  return me.value; 
 },