User:Johan G/Nested boxes and syntax highlighting/test template

From FlightGear wiki
Jump to navigation Jump to 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; 
 },