a - b: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
'''Operand types:''' | '''Operand types:''' | ||
'''a | '''a:''' [[Number]] or [[Array]] | ||
'''b:''' [[Number]] or [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Number]] or [[Array]] | |||
'''Description:''' | '''Description:''' | ||
For numbers | For numbers: '''a''' minus '''b'''. | ||
''See also.'' [[Array]] | |||
For arrays: Array '''a''' and array '''b''' added together.<br> | |||
'''See also.''' [[Array]] | |||
'''Examples:''' | '''Examples:''' | ||
Number<br>_sum = 10 '''-''' 7 ............ _sum is 3 | [[Number]]<br>_sum = 10 '''-''' 7 ............ _sum is 3 | ||
Array<br>_result = [1,2,2,[[player]],"String"] '''-''' [2,[[player]],[[player]],"String"] ............ _result is [1] | [[Array]]<br>_result = [1,2,2,[[player]],"String"] '''-''' [2,[[player]],[[player]],"String"] ............ _result is [1] |
Revision as of 14:19, 19 April 2006
back to COMREF
a - b
Operand types:
Type of returned value:
Description:
For numbers: a minus b.
For arrays: Array a and array b added together.
See also. Array
Examples:
Number
_sum = 10 - 7 ............ _sum is 3
Array
_result = [1,2,2,player,"String"] - [2,player,player,"String"] ............ _result is [1]