- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Suppose I have some struct with a few dozen fields, some primitive type and some non-primitive.
Is there any way to deallocate all of the fields without having N lines, where N is the number of fields I need to deallocate?
e.g.
Or has it never proven useful for VJASS to abstract a method/structs arguments to a list?
Suppose I have some struct with a few dozen fields, some primitive type and some non-primitive.
Is there any way to deallocate all of the fields without having N lines, where N is the number of fields I need to deallocate?
e.g.
Code:
for arg in args do:
deallocate arg
endfor
Or has it never proven useful for VJASS to abstract a method/structs arguments to a list?