Quote:
Originally Posted by Tyrial
Is there no builtin command that values the length of a <something>?
Like in Java, you can use Integer.MAX_VALUE or such.. Perhaps this.MAX_VALUE? Don't know.. try.
|
If you mean is there a way to find out the maximum value of a specific type of data (like you might do sizeof(int) in C), then no, there isn't such a thing in GScript.
If you are just looking for the length of the current data, then yes, obj.length() is correct.