Mirage Source
VB6 Byte question - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: VB6 Byte question (/showthread.php?tid=2457)



VB6 Byte question - VersionX - 28-12-2008

Whats the maximum value of a VB6 Byte?

Looking at MSDN Documentation, I'm thinking it would be 255. Want to save myself some debugging and ask before I code...

thanks = )


Re: VB6 Byte question - Labmonkey - 29-12-2008

If you know the answer why did you ask lol? Its 255. Bytes are always 0-255 in all languages.


Re: VB6 Byte question - Tony - 29-12-2008

You could've just made a byte = 256 and see if you get an error. Simple.


Re: VB6 Byte question - Matt - 29-12-2008

Or believe the MSDN. They made it?


Re: VB6 Byte question - Nean - 29-12-2008

What's the difference between a signed byte and an unsigned byte? Damn... and I had thought I had this shit, down and then Lea comes and brings more confusion. Thanks :\

xD