Hi
If I have a simple structure set up like this:
I can refer to the 'fullpath' element easily enough like this:
Is there any way I can refer to an element using a variable?
So it would be something like:
Is something like this possible? I'd like to apply the technique to a list of structures.
Thanks for reading!
If I have a simple structure set up like this:
Code:
Structure myfile
Public fullpath As String
Public numrecords As Integer
public category as string
End Structure
Code:
myfile.fullpath
So it would be something like:
Code:
myvar="fullpath"
myfile.(myvar)
Thanks for reading!