Nasal library/debug: Difference between revisions

Jump to navigation Jump to search
Start print_rank()
(→‎local(): Add examples)
(Start print_rank())
Line 197: Line 197:


=== print_rank() ===
=== print_rank() ===
{{Nasal doc
|syntax = debug.print_rank(label, list, names);
|text = Formats and prints results from {{func link|rank()|page=this}}.
|param1 = label
|param1text = Label to add to the results header.
|param2 = list
|param2text = Results vector from {{func link|rank()|page=this}}.
|param3 = names
|param3text = Either a vector or hash that will supply the names of the functions. If a hash, it must have the structure of <code>{ name: func, ... }</code>. If a vector, its structure can be etiher <code>[[name, func], ...]</code> or <code>[[func, name], ...]</code>
|example1 =
}}
=== printerror() ===
=== printerror() ===
=== propify() ===
=== propify() ===

Navigation menu