setAttributes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
<h2 style="color:#000066">''''' setAttributes '''''</h2> | <h2 style="color:#000066">'''''text'' setAttributes ''[name1, value1, name2, value2, ...]'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
'''text:''' [[Text]] or [[String]] | |||
'''[name1, value1, name2, value2, ...]:''' [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Structured Text]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 2.01 required. | |||
'''Description:''' | '''Description:''' | ||
Returns a structured text created by the given structured or plain text by setting attributes to the given values. | |||
'''Example:''' | '''Example:''' | ||
txt = img '''setAttributes''' ["image", "data\iSoldier.paa"] |
Revision as of 23:24, 2 July 2006
<new command not populated>
text setAttributes [name1, value1, name2, value2, ...]
Operand types:
[name1, value1, name2, value2, ...]: Array
Type of returned value:
Compatibility:
Version 2.01 required.
Description:
Returns a structured text created by the given structured or plain text by setting attributes to the given values.
Example:
txt = img setAttributes ["image", "data\iSoldier.paa"]