With...End With: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:
== Related Items ==
== Related Items ==


[[class|CLASS]]
[[class|Class]]


[[Category:Language Reference]]
[[Category:Language Reference]]

Revision as of 01:54, 24 August 2012

With object

[statements]

End With

Description

With allows you to do a series of operations on an object without having to name the object each time.

Example

Rem With sample
With document
  Print .URL
  Print .title
  Print .doctype
End With

Output

File:///C:Browse.htm
Test
[objectDocumentType]

Related Items

Class