How to test if a Short is negative?

BlitzMax Forums/BlitzMax Beginners Area/How to test if a Short is negative?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If the system you're using it with uses signed shorts, then it probably works similar to signed integers, where the top bit determines that the number is negative.