. (keyword)

Syntax 1

object.property

Syntax 2

structure.member

Description

Separates an object from a property or a structure from a structure member.

Examples

This example uses the period to separate an object from a property.

Sub Main()
  MsgBox "The clipboard text is: " & Clipboard.GetText()
End Sub

 

This example uses the period to separate a structure from a member.

Type Rect
  left As Integer
  top As Integer
  right As Integer
  bottom As Integer
End Type

Sub Main()

  Dim r As Rect

  r. left = 10

  r. rigth = 12

  Msgbox "r.left = "& r.left & ", r.right = " & r.right

End Sub

See Also

Objects (topic).

More information

Symbols