View previous topic :: View next topic |
Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
Posted: Mon Jun 12, 2017 9:44 pm Post subject: Int8 to int16? |
|
|
I am trying to take two 0-255 numbers to create the single -32768 to +32767 number. Anyone able to lend a hand? _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Fri Jun 30, 2017 4:18 pm Post subject: |
|
|
Are you looking for something like this?
Code: | %a = @input("1st number",255)
%b = @input("2nd number",255)
%h = @hex(%a,2)@hex(%b,2)
info %a" + "%b@cr()%h
%n = @sum($%h)
info %n
exit |
_________________ Hooligan
Why be normal? |
|
Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
|
Back to top |
|
 |
|