Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
Struct myStruct, value As long, _
|
||||
string As ptr
|
||||
myStruct.value.struct = 10
|
||||
myStruct.string.struct = "Hello World!"
|
||||
|
||||
structName$ = "myStruct"
|
||||
numElement$ = "value"
|
||||
strElement$ = "string"
|
||||
|
||||
Print Eval$(structName$ + "." + numElement$ + "." + "struct")
|
||||
|
||||
'Pay close attention that this is EVAL() because we are
|
||||
'retrieving the PTR to the string which is essentially a ulong
|
||||
Print Winstring(Eval(structName$ + "." + strElement$ + "." + "struct"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue