Author Topic: How to do unsigned 8 bit integer in Realbasic 5.5.5?  (Read 2983 times)

Offline Knezzen

  • Administrator
  • Platinum Member
  • *****
  • Posts: 991
  • Pro Tools Addict!
    • Macintosh Garden
How to do unsigned 8 bit integer in Realbasic 5.5.5?
« on: April 23, 2018, 02:02:40 AM »
I'm backporting MacTorrent from Realbasic 2006R3 to Realbasic 5.5.5 and have one obstacle left to overcome.
I have converted all the integers from Realbasics more C-oriented types to Realbasics integer typed.

Just to sum up the conversion:
RB5      -   RB2k6
Byte     -   int8
UShort  -   uint16
Long     -   int32

UByte was introdoced later, otherwise this type would solve my problem. Using "Byte" where "uint8Value" was used before renders in NilException and freezes. One Type 10 error as well. Something needs to be done. I can't be the first one in need of something like this, so there must be some kind of solution out there.

Help!  :-\
Pro Tools addict and admin at Macintosh Garden, Mac OS 9 Lives! and System 7 Today

Offline Knezzen

  • Administrator
  • Platinum Member
  • *****
  • Posts: 991
  • Pro Tools Addict!
    • Macintosh Garden
Re: How to do unsigned 8 bit integer in Realbasic 5.5.5?
« Reply #1 on: April 24, 2018, 09:36:10 AM »
This got solved. Now there's new problems, but more on that later ;)
Pro Tools addict and admin at Macintosh Garden, Mac OS 9 Lives! and System 7 Today

macStuff

  • Guest
Re: How to do unsigned 8 bit integer in Realbasic 5.5.5?
« Reply #2 on: May 30, 2018, 12:54:02 PM »
getting the right information and solving obstacles is always worth the cost to humble yourself + ask for help
good luck with your programming Knez