Nasal library: Difference between revisions

Jump to navigation Jump to search
→‎removecommand(): Finish docing
(→‎removecommand(): Finish docing)
Line 1,961: Line 1,961:
|syntax = removecommand(cmd);
|syntax = removecommand(cmd);
|source = {{flightgear file|src/Scripting/NasalSys.cxx|l=668|t=Source}}
|source = {{flightgear file|src/Scripting/NasalSys.cxx|l=668|t=Source}}
|text =
|text = Removes the given fgcommand. Returns <code>'''nil'''</code>.
 
{{caution|This will remove '''any''' [[fgcommands|fgcommand]], even those implemented in C++, so use with caution!}}
{{caution{{!}}1{{=}}This will remove '''any''' [[fgcommands{{!}}fgcommand]], even those implemented in C++, so use with caution!}}
Returns <code>'''nil'''</code>.
|param1 = cmd
|param1 = cmd
|param1text = String specifying the name of the command to remove.
|param1text = String specifying the name of the command to remove.

Navigation menu