ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:packbytes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
functions:packbytes [2017/03/19 17:55] korshunfunctions:packbytes [2017/03/19 18:01] korshun
Line 8: Line 8:
 The packed values can be retrieved using [[UnpackByte]]. The packed values can be retrieved using [[UnpackByte]].
  
-<note tip>It can be used to pass more than 3 or 4 arguments to a script if the range of the values is small.+<note tip> 
 +It is intended to be used to pass more than 3 or 4 arguments to a script if the range of the values is small.
  
-You can also pack shorts (-32768 to 32767) using [[PackShorts]].</note>+You can also pack shorts (-32768 to 32767) using [[PackShorts]]
 + 
 +If you need more extreme packing, you should code it yourself.</note>
  
 ===== Examples ===== ===== Examples =====
Line 38: Line 41:
 } }
 </code> </code>
 +
 +===== See also =====
 +[[PackShorts]]
functions/packbytes.txt · Last modified: 2017/04/17 20:47 by korshun