Difference between revisions of "DCS getCurrentDcsResourceId"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
==== DCS_getCurrentDcsResourceId ====
+
==== DCS_getCurrentDcsResourceId ====
  
 
Return current DCS resource Id  
 
Return current DCS resource Id  
Line 19: Line 19:
 
'''Example'''  
 
'''Example'''  
  
''number dcsResourceId = DCS_getCurrentDcsResourceId(); ''
+
''number dcsResourceId = DCS_getCurrentDcsResourceId(); ''  
  
''print(dcsResourceId); ''
+
''print(dcsResourceId); ''  
  
'''Explanation'''
+
'''Explanation'''  
  
''If you work on Tabulation editor, you can use this example to know DCS resource Id that you're using ''
+
''If you work on Tabulation editor, you can use this example to know DCS resource Id that you're using. This script will run failed if you're using Workflow editor and do not use function DCS_use(DCS resource Id). ''  
  
 
'''Availability'''  
 
'''Availability'''  

Latest revision as of 12:31, 20 December 2011



DCS_getCurrentDcsResourceId

Return current DCS resource Id

Syntax

DCS_getCurrentDcsResourceId()

Arguments

None

Return value

number

Example

number dcsResourceId = DCS_getCurrentDcsResourceId();

print(dcsResourceId);

Explanation

If you work on Tabulation editor, you can use this example to know DCS resource Id that you're using. This script will run failed if you're using Workflow editor and do not use function DCS_use(DCS resource Id).

Availability

Version 5.8