Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() | 1. Params default to integer if their default and range specs are integers. If any of those four are floating, Params become single. (You can Dim integer, single, double, string, Boolean, and limited object. The integers are long integers btw (14 sig fig) 2. Does omnilanguage support select/case? Yes - and most of the nuanced dotNet case specs. 3. Does omnilanguage support enumerated types? No - but you can define a constant in a dim using = “string” or = value, etc. OL’s greatest limitation from a programming standpoint is the inability to declare arrays. Actually, in the underlying dotNET code, all declared variables are arrays which have a one dimensional size equal to the number of bars loaded. But OL is designed to prevent users from accidentally or on purpose referencing the “future” subscripts (ie later bars) of any of those implicit arrays. [Edited by Jim Dean on 1/24/2019 11:07 PM] |