Resource setParentResource

From Catglobe Wiki
Revision as of 10:48, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Resource_setParentResource

Set a resource to be the parent of another resource

Syntax

Resource_setParentResource(resourceId, parentResourceId)

Arguments

  • resourceId: is a number expression. It is the resource's unique id
  • parentResourceId: is a number expression. It is the parent resource's unique id

Return value

empty

Example

Resource_setParentResource(55689, 454688);

Availability

Version 5.6