Restored from previous forum. Originally posted by dmoc.
Scenario...
Structure MyStructure1
SomeLongs[2]
EndStructure
Structure MyStructure2
MyVar.MyStructure1
EndStructure
BigVar.MyStructure2
AddOfLong = @BigVar/MyVar/SomeLongs[0]
...what's wrong with the last part? I have tried without the [].
Structure Question
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Pupil.
I guess you mean to use '\' instead of '/', which by the way is the division operator...
I guess you mean to use '\' instead of '/', which by the way is the division operator...
Code: Select all
Structure MyStructure1
SomeLongs.l[2]
EndStructure
Structure MyStructure2
;
MyVar.MyStructure1
EndStructure
BigVar.MyStructure2
AddOfLong = @BigVar\MyVar\SomeLongs[0]
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm