Difference between revisions of "DCS getCurrentDcsResourceId"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Data_Cache_Functions]]
+
{{HelpFiles}}

+
 
 +
==== DCS_getCurrentDcsResourceId  ====
 +
 
 +
Return current DCS resource Id
 +
 
 +
'''Syntax'''
 +
 
 +
DCS_getCurrentDcsResourceId()
  
====DCS_getCurrentDcsResourceId====
+
'''Arguments'''
  
Return current DCS resource Id
+
None
  
'''Syntax'''
+
'''Return value'''  
  
DCS_getCurrentDcsResourceId()
+
number
  
'''Arguments'''
+
'''Example'''  
  
None
+
''number dcsResourceId = DCS_getCurrentDcsResourceId(); ''
  
'''Return value'''
+
''print(dcsResourceId); ''  
  
number
+
'''Explanation'''
  
'''Example'''
+
''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). ''  
  
number dcsResourceId = DCS_getCurrentDcsResourceId();
+
'''Availability'''
  
'''Availability'''
+
Version 5.8 __NOTOC__ <!-- imported from file: 7585.htm-->
  
Version 5.8
+
[[Category:Data_Cache_Functions]]
__NOTOC__
 
<!-- imported from file: 7585.htm-->
 

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