<< Prev        Next >>

ID : 9088

Integer

Function

To present Integer Type data.

Description

This is used together with "Dim" in declaration of Integer Type local variables.

Related Terms

Single, Double, Position, Trans, Joint, String

Attention

-

Example

'!TITLE "Declaration of Integer Type Data"
' Assign a value to variable declared in integer type data and display it on the message output window
Sub Sample_Integer

  ' Declare a variable named aaa in integer type data
  Dim aaa As Integer

  ' Declare a variable named bbb in integer type data
  Dim bbb As Integer

  aaa = 10

  bbb = 10.6

  ' Display "10" on the message output window
  PrintDbg aaa

  ' Display "11" on the message output window
  PrintDbg bbb

End Sub

ID : 9088

<< Prev        Next >>