Difference between revisions of "Operator"
From SimsWiki
(Auto-inserted from WakkaWikki) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | These are the operators available for use in the [[Expression]] primitive. | |
| − | 0x00 | + | ==List== |
| − | 0x01 | + | |
| − | 0x02 | + | {| |
| − | 0x03 | + | ! Hex |
| − | 0x04 | + | ! Meaning |
| − | 0x05: | + | |- |
| − | 0x06 | + | | 0x00 |
| − | 0x07 | + | | > |
| − | 0x08 | + | |- |
| − | 0x09 | + | | 0x01 |
| − | 0x0A | + | | < |
| − | 0x0B | + | |- |
| − | 0x0C | + | | 0x02 |
| − | 0x0D | + | | == |
| − | 0x0E | + | |- |
| − | 0x0F | + | | 0x03 |
| − | 0x10 | + | | += |
| − | 0x11 | + | |- |
| − | 0x12 | + | | 0x04 |
| − | 0x13 | + | | -= |
| − | 0x14 | + | |- |
| − | 0x15 | + | | 0x05 |
| + | | := | ||
| + | |- | ||
| + | | 0x06 | ||
| + | | *= | ||
| + | |- | ||
| + | | 0x07 | ||
| + | | /= | ||
| + | |- | ||
| + | | 0x08 | ||
| + | | Flag Set? | ||
| + | |- | ||
| + | | 0x09 | ||
| + | | Set Flag | ||
| + | |- | ||
| + | | 0x0A | ||
| + | | Clear Flag | ||
| + | |- | ||
| + | | 0x0B | ||
| + | | ++ and < | ||
| + | |- | ||
| + | | 0x0C | ||
| + | | mod= | ||
| + | |- | ||
| + | | 0x0D | ||
| + | | and= | ||
| + | |- | ||
| + | | 0x0E | ||
| + | | >= | ||
| + | |- | ||
| + | | 0x0F | ||
| + | | <= | ||
| + | |- | ||
| + | | 0x10 | ||
| + | | != | ||
| + | |- | ||
| + | | 0x11 | ||
| + | | -- and > | ||
| + | |- | ||
| + | | 0x12 | ||
| + | | or= | ||
| + | |- | ||
| + | | 0x13 | ||
| + | | xor= | ||
| + | |- | ||
| + | | 0x14 | ||
| + | | abs | ||
| + | |- | ||
| + | | 0x15 | ||
| + | | Assign 32bit Value | ||
| + | |} | ||
| + | |||
| + | ==See Also== | ||
| + | *[[0x0002]] the expression [[Primitive]] | ||
| + | |||
| + | {{OldWikiEntryCleaned}} | ||
| + | |||
| + | [[Category:Sims 2 Modding]] | ||
Latest revision as of 21:23, 17 September 2012
These are the operators available for use in the Expression primitive.
[edit] List
| Hex | Meaning |
|---|---|
| 0x00 | > |
| 0x01 | < |
| 0x02 | == |
| 0x03 | += |
| 0x04 | -= |
| 0x05 | := |
| 0x06 | *= |
| 0x07 | /= |
| 0x08 | Flag Set? |
| 0x09 | Set Flag |
| 0x0A | Clear Flag |
| 0x0B | ++ and < |
| 0x0C | mod= |
| 0x0D | and= |
| 0x0E | >= |
| 0x0F | <= |
| 0x10 | != |
| 0x11 | -- and > |
| 0x12 | or= |
| 0x13 | xor= |
| 0x14 | abs |
| 0x15 | Assign 32bit Value |
[edit] See Also
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/Operator