Is there a way to choose the data type of a structure in code? A silly example to illustrate the idea:
type mystruct
x as double
y as double
end type
private sub testsub()
dim myvariable as mystruct
dim flag as string
flag = "x"
myvariable.flag = 10
end sub
Of course, this doesn't work but perhaps there is a way to accomplish this?
Thanks in advance,
Ryan
type mystruct
x as double
y as double
end type
private sub testsub()
dim myvariable as mystruct
dim flag as string
flag = "x"
myvariable.flag = 10
end sub
Of course, this doesn't work but perhaps there is a way to accomplish this?
Thanks in advance,
Ryan