Quote:
Originally Posted by zaplanr
Mr Dark Cube Question what are the difference pushbyte, pushshort, pushint?
|
eto yon
pushbyte: 0 - 255 (no negative, no decimal)
pushshort: -32768 - 32767 (no decimal)
pushint: -2147483648 - 2147483647 (no decimal)
pushuint: 0 - 4294967295 (no negative, no decimal)
pushdouble: anything bigger than the others or anything with a decimal
dup: duplicate the last number
If you change a number such as this:
pushbyte 20
to a bigger number, you must update the type or it WILL NOT WORK.
pushbyte 300 <-- this is not valid
pushshort 300 <-- this is
pushshort 40000 <-- this is not valid
pushint 40000 <-- this is
it is not necessary to change the type if you make the number smaller
pushint 0 <-- this is valid
if you take a decimal out of a number I do recommend to change the type
if you change this line
pushdouble 1.2
to
pushdouble 12
I recommend
pushbyte 12
pushbyte 20
dup
is the same thing as
pushbyte 20
pushbyte 20
from:jd_inconnus
click thanks if i helped you