This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
functions:packshorts [2017/03/21 15:05] – korshun | functions:packshorts [2017/04/15 17:38] – korshun | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Description ===== | ===== Description ===== | ||
- | Packs two short integers (-32768 to 32767) into one integer and returns the result. The short integers must be in the [-32768, 32767] range. | + | Packs two short integers (-32768 to 32767) into one integer and returns the result. |
The packed values can be retrieved using [[UnpackShort]]. | The packed values can be retrieved using [[UnpackShort]]. |