Not an expert "coder". Done a bit in Python and a few others but there are certainly different methods in ISX than those languages .
I am having a trouble locating documentation for methods that don't involve world objects or pawns. I have seen references to this in other scripts but can't seem to locate what I need in the ISX.
1. Does ISX support dictionaries and, if so, does it also support a function similar to "dict.has_key(key)" or "key in dict" support (yes I know .has_key was deprecated in favor of "key in dict")?
2. Is there a way to return the length/count of the elements within a mutable list or dictionary? "len(dict)" would be fantastic.
3. Do I need to use the ${Math.Calc[]} for all computations? Additionally, it would appear that I need to use either :Set[] or :Inc[] to add incremental values?
I hope that all makes sense.
Appreciate the replies.
I am having a trouble locating documentation for methods that don't involve world objects or pawns. I have seen references to this in other scripts but can't seem to locate what I need in the ISX.
1. Does ISX support dictionaries and, if so, does it also support a function similar to "dict.has_key(key)" or "key in dict" support (yes I know .has_key was deprecated in favor of "key in dict")?
2. Is there a way to return the length/count of the elements within a mutable list or dictionary? "len(dict)" would be fantastic.
3. Do I need to use the ${Math.Calc[]} for all computations? Additionally, it would appear that I need to use either :Set[] or :Inc[] to add incremental values?
Which do I use to replace something like += ? Would it be VAR:Set[${Math.Calc[VAR+Increment]}] or VAR:Inc[Increment]
Same rule applies for *= ?
Same rule applies for *= ?
I hope that all makes sense.
Appreciate the replies.