<< Prev        Next >>

ID : 329

Integer

Function

To present Integer Type data.

Description

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

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

<< Prev        Next >>