Hello. I've got more of a query rather than a problem, but it's one I've been having trouble understanding for quite some time.
I understand how Types work (sort of) and their uses, but I can't understand how you access/modify any of the field values in any particular type.
For example, whenever I attempt to alter a type field's values inside a Function (a pre-existing type that already has an instance made outside of this function), it always returns the error message "Variable must be a type". If I put this in an extra "For...Next" loop, it solves it - but this seems a bit extreme to me for just altering one type field's value...
Am I doing this wrong? Is there a more efficient way of doing this? Or am I looking into it too much?
Thanks in advance for any advice on the matter.
I understand how Types work (sort of) and their uses, but I can't understand how you access/modify any of the field values in any particular type.
For example, whenever I attempt to alter a type field's values inside a Function (a pre-existing type that already has an instance made outside of this function), it always returns the error message "Variable must be a type". If I put this in an extra "For...Next" loop, it solves it - but this seems a bit extreme to me for just altering one type field's value...
Am I doing this wrong? Is there a more efficient way of doing this? Or am I looking into it too much?
Thanks in advance for any advice on the matter.