Home | Extend beyond the boundaries. |
|
Introduction
Onyx is a complex language. This page describes some of the more advanced features, which aren't that easy to use if you're not used to C++.
Handles
The type 'handle' exists.
Comparing handles is limited. For example: 'if(h==0)' is not permitted, since 'h' is a handle and '0' is considered an integer. The correct form is 'if(h==null)'. 'null' is a special keyword that can be used for pointers and handles, and has type 'null' (a special type).
(last updated November 13, 2012 )