Difference between revisions of "Resource getResourcePath"

From Catglobe Wiki
Jump to: navigation, search
 
Line 20: Line 20:
 
'''Example'''
 
'''Example'''
  
''string path = Resource_getResourcePath(15186613);''
+
''string path = Resource_getResourcePath(1252151);''
 +
 
 +
''print(path);''
 +
 
 +
//Output : CATINET\Internal Projects\Administration
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 03:36, 26 December 2011



Resource_getResourcePath

Get the path of a resource

Syntax

Resource_getResourcePath(resourceId)

Arguments

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

Return value

string

Example

string path = Resource_getResourcePath(1252151);

print(path);

//Output : CATINET\Internal Projects\Administration

Availability

Version 5.6