Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:SimpleDebug/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Uses== {| class="wikitable" |- ! colspan="3" | One or several points to watch |- | colspan="3" | Function abbreviations: <code>w</code>: where. <code>n</code>: names. <code>v</code>: variables. <code>s</code>: string. |- | colspan="3" |'''Variables''' |- | '''Name'''||'''Default'''|| |- | <code>tab.oneline</code> || true|| * If it is ''false'' or it is ''true'' and contains nested tables, it will show a line for each item in the table and with an indent for each nested table. * If it is ''true'' and it does not contain nested tables, it shows the table in a line. |- | <code>tab.allidx</code> || false || If it is true then also displays the numerical indexes of a table. |- | <code>dec</code> || -1 || Spaces for the decimals: *-1: It displays all required decimals. *0: No decimals. *n: 1: one decimal, 2: two decimals, etc. |- |<code>enabled</code> || true || If it is false all calls to the below functions do nothing. |- |<code>nohtml</code> || false || In strings, it replaces < for ⪡ and > for ⪢. |- |<code>plaintext</code> || false || Deletes html format. |- ! colspan="3" |One point to watch |- | colspan="2" |'''Functions''' |- | colspan="2" |<code>w (where)</code> || *''where'': point label. |- | colspan="2" |<code>v (...)</code> || *''...'': a number of variables = var1, var2... |- | colspan="2" |<code>wv (where, ...)</code> || *''where'': point label. *''...'': a number of variables = var1, var2... |- | colspan="2" |<code>nv (...)</code> || *''...'': a number of pairs of name-variable = name1, var1, name2, var2.... |- | colspan="2" |<code>wnv (where, ...)</code> || *''where'': point label. *''...'': a number of pairs of name-variable = name1, var1, name2, var2.... |- ! colspan="3" |Several points to watch |- | colspan="3" |'''Variables''' |- | '''Name'''||'''Default'''|| |- | <code>s</code> || || The string variable that holds the returned values from the next functions. |- | <code>maxlines.num</code> || 100 || The maxim number of lines (on calling the next functions). |- | <code>maxlines.doerror</code> || true || If it is true and <code>maxlines.num</code> is reached, <code>error(s)</code> is called. |- |<code>counter</code> || false || Adds an autoincremental number at the beginning of each call of a function. |- | colspan="3" |'''Functions''' |- | colspan="2" |<code>breakline ()</code> || Adds a break line in <code>s</code>. |- | colspan="2" |<code>wtos (where)</code> || Equal to <code>w</code>, but the return string is stored in <code>s</code>. |- | colspan="2" |<code>vtos (...)</code> || Equal to <code>v</code>, but the return string is stored in <code>s</code>. |- | colspan="2" |<code>wvtos (where, ...)</code> || Equal to <code>wv</code>, but the return string is stored in <code>s</code>. |- | colspan="2" |<code>nvtos (...)</code> || Equal to <code>nv</code>, but the return string is stored in <code>s</code>. |- | colspan="2" |<code>wnvtos (where, ...)</code> || Igual a <code>wnv</code>, but the return string is stored in <code>s</code>. |}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)