blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Allow If (not null) check for structs #22

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: Difference

With Classes it's possible to check if a variable references an object with: If MyObject but with Structs, only If mystruct <> Null is currently allowed. It would be nice be able to use the shorthand syntax on Structs too.