I can't seem to figure out a way to get the data I'm looking for. I need to get the information in the "Image" field from the worldObj type, while looping through each object in Layer1. There seems to be certain syntax I'm missing.
The problem is in the for...each loop... I can't seem to use "l\obj\img". Does anyone know how this is possible?
Type worldObj
Field Image, x, y, sizeX, sizeY, Layer, File$
Field Collision, id
End Type
Type Layer1
Field obj.worldObj
End Type
For l.Layer1 = Each Layer1
If img = l\obj\img Then
Delete l
Return
End If
Next
|