Difference between revisions of "Folder new"
CGHelpdesk (talk | contribs) (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: | ||
− | + | [[Category:Folder]] | |
− | + | ==== <span class="mw-headline" id="Folder_getFolderByName">Folder_getFolderByName</span> ==== | |
− | + | ||
− | + | <span class="mw-headline">To create a new Folder object.</span> | |
− | + | ||
− | + | '''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. | ||
+ | |||
+ | - <span style="line-height: 19.2000007629395px;">Folder_template_resource_id: </span><span style="line-height: 19.2000007629395px;">folder resource template resource id</span> | ||
+ | |||
+ | <span style="line-height: 19.2000007629395px;">- </span><span style="line-height: 19.2000007629395px;">Parent_resource_id: </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 </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