publicVariable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
back to [[Scripting_Reference#P|COMREF]] | |||
<h2 style="color:#000066">'''publicVariable ''varName'''''</h2> | <h2 style="color:#000066">'''publicVariable ''varName'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
varName: [[String]] | '''varName:''' [[String]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Nothing | [[Nothing]] | ||
'''Description:''' | '''Description:''' | ||
Line 13: | Line 16: | ||
Broadcast variable value to all computers. | Broadcast variable value to all computers. | ||
Only type Number is supported in version 1.33 and before. | Only type [[Number]] is supported in version 1.33 and before. | ||
Following types are supported since version 1.34: | Following types are supported since version 1.34: | ||
* Number | |||
* Boolean | |||
* Object | |||
* Group | |||
'''Example:''' | '''Example:''' | ||
'''publicVariable''' "CTFscoreOne" | '''publicVariable''' "CTFscoreOne" |
Revision as of 02:26, 16 April 2006
back to COMREF
publicVariable varName
Operand types:
varName: String
Type of returned value:
Description:
Broadcast variable value to all computers.
Only type Number is supported in version 1.33 and before.
Following types are supported since version 1.34:
- Number
- Boolean
- Object
- Group
Example:
publicVariable "CTFscoreOne"