Log In  

Cart #vdmplua-2 | 2022-03-30 | Code ▽ | Embed ▽ | No License

Feature Overview

  • DMP() prints values, table internals.
  • Stop the routine.
  • Clear Screen.
  • Display the contents of the specified table.
  • The displayed order is not fixed.
  • The overflowed text is not displayed.
  • This function consumes 177 Token.
local t={
 1
,str="string"
,obj={"o","b","j","e","c","t"}
,{{{}}}
,{nil,true,false,function()end}
}
dmp(t)

Symbol summary

#  Number
$  String
%  Boolean
*  Function(output only the "[Function]")
!  nil(Is not printed because Skip nil in table pairs())
{} Table

This function is included in the KNUTIL library.

release note


v0.1

  • first release(vdmp)

v0.2

  • name change: [ vdmp->dmp ]
  • remove value for print position.
  • add the type identifier
    before the table key.

v0.3

  • fixed comment
P#60679 2019-01-08 14:10 ( Edited 2022-03-30 06:08)


[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 14:57:24 | 0.006s | Q:13