Bribe
vJass errors are legion
- Reaction score
- 67
Fed up with the JASS interpreter and onto professional programming envirnoments, I've been studying Python. Yes, I know it is also an interpreter, but the far greater capability and compatibility squash a JASS script.
I have a few specific questions;
An array in JASS is comparible to what in Python? Dictionary or List? I'm confused how to most efficiently iterate through them and reference specific array slots.
Is there a way to deallocate lists and tuplets and other storage utilities to free up RAM?
What kinds of whitespace is permitted? Can I use spaces as well as tabs? How many spaces need to be inserted to register as a block? I know that four-spaced tabs are allowed, but can I use 2, 6 or higher, if deemed necessary? I know I can join lines by adding an \ operator, but can I combine two statements on one line by adding a ; operator?
Any general advice you can give a programmer switching from JASS to Python? I know everything there is to know about vJass' added features and Zinc's compile-time differences, as well as pretty much everything there is to know about JASS.
I have a few specific questions;
An array in JASS is comparible to what in Python? Dictionary or List? I'm confused how to most efficiently iterate through them and reference specific array slots.
Is there a way to deallocate lists and tuplets and other storage utilities to free up RAM?
What kinds of whitespace is permitted? Can I use spaces as well as tabs? How many spaces need to be inserted to register as a block? I know that four-spaced tabs are allowed, but can I use 2, 6 or higher, if deemed necessary? I know I can join lines by adding an \ operator, but can I combine two statements on one line by adding a ; operator?
Any general advice you can give a programmer switching from JASS to Python? I know everything there is to know about vJass' added features and Zinc's compile-time differences, as well as pretty much everything there is to know about JASS.