<< Prev        Next >>

ID : 5068

Variant

Function

This means Variant Type data.

Description

Use this with "Dim" when declare Variant Type local variable.

Attention

-

Example

Pro1.pcs
Sub Main
  Dim n as Integer
  Dim vColor as Variant
  vColor = Array( "RED", &H0000FF, "GREEN", &H00FF00, "BLUE", &HFF0000 )

  For n=0 To Ubound(vColor)
     PrintDbg vColor(n*2),  Hex(vColor(n*2+1))
  Next

End Sub

ID : 5068

<< Prev        Next >>