I am trying to create an array of RGB triplets but can't seem to find the right syntax.
I am complete new to OOP concepts.
Below is what I am trying but I get
compiler error: expecting identifyer but encountered "="
Type RGB_Col
Field Red%
Field Grn%
Field Blu%
End Type
Global C[6] Type = RGB_Col
For i = 0 To 5
C[i] = New RGB_Col
Next
Any help would be appreciated.
Thank you,
-Lee
I am complete new to OOP concepts.
Below is what I am trying but I get
compiler error: expecting identifyer but encountered "="
Type RGB_Col
Field Red%
Field Grn%
Field Blu%
End Type
Global C[6] Type = RGB_Col
For i = 0 To 5
C[i] = New RGB_Col
Next
Any help would be appreciated.
Thank you,
-Lee