Pseudo-type
From kwiki
| | This article is written by Konrad, thus using rather nonstandard English:) |
Internally, DNM Script supports only the following types of variables:
These are so called built-in types. This documentation however, uses lots of other types, like bool - so one can easily understand what the function returns/accept as arguments.
For example function ShellExecute which declaration is:
bool ShellExecute (string strOperation,string strPath,[string strParams],[string strDir])
returns 'bool' which means that it in reality returns int, this value however has a meaning of boolean, in other words it is supposed to be used as boolean - it can be FALSE or TRUE (0 or 1).
Another example would be FindWindow function, which (according to this wiki) returns HWND. That is - it returns int, and it can be used as an ordinary int, however is it supposed to be used wherever a function requires a window handle.
