.id
324
.gutitle
jk_docs_functions_structnew
.title
StructNew
.file
.extension
.name
.user_id
7
.notes
|primary|
.body
Creates and returns an empty structure.

<p class="snip">
&lt;var Obj = <b>StructNew()</b>&gt;
</p>
 
.example
<!--- create and output an empty structure --->
<var X = StructNew()>
<dump var="#X#">


<!--- add items (keys) to a structure --->
<var X = StructNew()>
<var X.title = "Laugh Track">
<var X.artist = "Eli Engelbert">
<dump var="#X#">
.required_params
.optional_params
.see_also
<a href="../Functions/StructAppend">StructAppend</a>
<a href="../Functions/StructClear">StructClear</a>
<a href="../Functions/StructCopy">StructCopy</a>
<a href="../Functions/StructCount">StructCount</a>
<a href="../Functions/StructDelete">StructDelete</a>
<a href="../Functions/StructFind">StructFind</a>
<a href="../Functions/StructFindKey">StructFindKey</a>
<a href="../Functions/StructFindValue">StructFindValue</a>
<a href="../Functions/StructInsert">StructInsert</a>
<a href="../Functions/StructIsEmpty">StructIsEmpty</a>
<a href="../Functions/StructKeyArray">StructKeyArray</a>
<a href="../Functions/StructKeyExists">StructKeyExists</a>
<a href="../Functions/StructKeyList">StructKeyList</a>
<a href="../Functions/StructSort">StructSort</a>
<a href="../Functions/structToXML">structToXML</a>
<a href="../Functions/StructUpdate">StructUpdate</a>