With...End With: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
m (Ghenne moved page With...end with to With...End With)
(Removed related items.)
Line 25: Line 25:
[objectDocumentType]
[objectDocumentType]
</pre>
</pre>
== Related Items ==
[[class|Class]]


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


[[Category:Statements - Flow of control]]
[[Category:Statements - Flow of control]]

Revision as of 01:14, 3 March 2013

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]