Difference between revisions of "Folder new"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{Function_Template|Name=Folder_new|ReturnType=Array |Parameters= |Name=<nowiki>Folder name</nowiki>|ConstantType=String, |Name=<nowiki>Folder template resource id</nowiki>|Co...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function_Template|Name=Folder_new|ReturnType=Array
+
[[Category:Folder]]
|Parameters=
+
==== <span class="mw-headline" id="Folder_getFolderByName">Folder_getFolderByName</span> ====
|Name=<nowiki>Folder name</nowiki>|ConstantType=String,
+
 
|Name=<nowiki>Folder template resource id</nowiki>|ConstantType=Number|IsInteger=1|IsPositive=1,
+
<span class="mw-headline">To create a new Folder object.</span>
|Name=<nowiki>Parent resource id</nowiki>|ConstantType=Number|IsInteger=1|IsPositive=1
+
 
}}
+
'''Syntax'''
 +
 
 +
Folder_new(Folder_name,Folder_template_resource_id,Parent_resource_id)
 +
 
 +
'''Arguments'''
 +
 
 +
<span style="line-height: 19.2000007629395px;">- Folder_name</span>: the name of new folder.
 +
 
 +
-&nbsp;<span style="line-height: 19.2000007629395px;">Folder_template_resource_id:&nbsp;</span><span style="line-height: 19.2000007629395px;">folder resource template resource id</span>
 +
 
 +
<span style="line-height: 19.2000007629395px;">-&nbsp;</span><span style="line-height: 19.2000007629395px;">Parent_resource_id:&nbsp;</span><span style="line-height: 19.2000007629395px;">parent resource id of folder.</span>
 +
 
 +
'''Return type'''
 +
 
 +
Array
 +
 
 +
'''Examples'''
 +
<div style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.2000007629395px;"><div>array a=Folder_new("new folder 01",2071,309418);</div><div>print(a);</div><div><span style="line-height: 19.2000007629395px;">// output&nbsp;</span><span style="line-height: 19.2000007629395px;">{28,0,new folder 01,309418,2071,True,0,False,new folder 01}</span></div></div><div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr" style="direction: ltr; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.2000007629395px;">
 +
'''Availability'''
 +
 
 +
Version 5.8
 +
</div>

Latest revision as of 08:51, 9 October 2014

Folder_getFolderByName

To create a new Folder object.

Syntax

Folder_new(Folder_name,Folder_template_resource_id,Parent_resource_id)

Arguments

- Folder_name: the name of new folder.

Folder_template_resource_id: folder resource template resource id

Parent_resource_id: parent resource id of folder.

Return type

Array

Examples

array a=Folder_new("new folder 01",2071,309418);
print(a);
// output {28,0,new folder 01,309418,2071,True,0,False,new folder 01}

Availability

Version 5.8