Howto:Understand console output: Difference between revisions

Jump to navigation Jump to search
add error: bad/missing argument to <function()>:
m (...link update)
(add error: bad/missing argument to <function()>:)
Line 9: Line 9:
=== Airports/.... ... Done ===
=== Airports/.... ... Done ===
This is not an error. The message lets us know that [[TerraSync]] is updating the <tt>[[$FG SCENERY]]/Airports</tt> directory.
This is not an error. The message lets us know that [[TerraSync]] is updating the <tt>[[$FG SCENERY]]/Airports</tt> directory.
=== bad/missing argument to <function()>: ===
This error indicates that an argument the function is either the wrong type or does not exist.  It is accompanied by a line showing the location.  For instance, executing the below snippet in the [[Nasal Console]] will throw the error blow the snippet.
<syntaxhighlight lang="nasal">
var hash = {
element: "value"
};
append(hash, "string", 12, 5.67); # you can only append() to a vector
</syntaxhighlight>
<syntaxhighlight>
bad/missing argument to append():
at <nasal-console/#1>, line 4
</syntaxhighlight>


=== Bad operation output detected in configuration file ===
=== Bad operation output detected in configuration file ===

Navigation menu