Pagkakaiba sa pagitan ng mga pagbago ng "Module:SimpleDebug/doc"

m
walang buod ng pagbabago
m (Minor changes)
m
 
<syntaxhighlight lang="Lua">
local SD = require "Module:SimpleDebug"
SD.tab.allidx = true
local a = {{1,2,3},{4,5nil,6},{7,8,9}}
return SD.v (a)
</syntaxhighlight>
{
[1]={[1]=1, [2]=2, [3]=3, },
[2]={[1]=4, [2]=5, [3]=6, },
[3]={[1]=7, [2]=8, [3]=9, },
}
displays:
 
{{color|red|'''Lua error:Module:''YourModule'':''Line'':{'''}}
<div style="color:red; font-family:monospace, monospace"><b>
<font color="red"><b>
&nbsp; &nbsp;[1] = {1, 2, 3, },<br>
&nbsp; &nbsp;[2] = {4, 5, 6, },<br>
&nbsp; &nbsp;[3] = {7, 8, 9, },<br>
&nbsp;}
}</b></fontdiv>
 
 
returns:
 
{{color|red|'''Lua Error:Module:''Your module'':''Line'':'''}}
 
{{color|red|'''little number'''}}
 
3  •  6
==== Monitoring of several variables ====
 
 
==== Monitoring of several variables ====
<syntaxhighlight lang="Lua">
local SD = require "Module:SimpleDebug"
35

edit