[Resolved]
Hello,
if I setup this :
type fontSystem
fontName As String // Font name
used As Integer // If font was used during render (for auto purge mode )
EndType
global fntSystem as fontSystem[ 0 ]
how can I use the .insert( X ) to insert a new object containing fontName & used ?
I check the doc but it don't talk about array of type.
Regards,
[Resolved]
I've found :
myItem as MyType
myItem.ID = 3
myItem.name = "Eve"
myArray.insert(myItem)
remstart
the array now looks like this
[0]: ID=1, name="Carol"
[1]: ID=2, name="David"
[2]: ID=3, name="Eve"
[3]: ID=4, name="Alice"
[4]: ID=5, name="Bob"
remend