Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Folder new: Difference between revisions

From Catglobe Wiki
CGHelpdesk (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user 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=Folder name|ConstantType=String,
 
|Name=Folder template resource id|ConstantType=Number|IsInteger=1|IsPositive=1,
<span class="mw-headline">To create a new Folder object.</span>
|Name=Parent resource id|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 07: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