<< Prev        Next >>

ID : 9095

Variant

Function

This means Variant Type data.

Description

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

Related Terms

Integer, Single, Double, Position, Trans, Joint, Variable Type Relation Key Word

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 : 9095

<< Prev        Next >>