With...End With: Difference between revisions
Jump to navigation
Jump to search
Created page with "WITH object <br /> :::[statements] <br /> END WITH '''Description''' WITH allows you to do a series of operations on an object without having to name the object each time. ..." |
No edit summary |
||
Line 1: | Line 1: | ||
With object <br /> | |||
:::[statements] <br /> | :::[statements] <br /> | ||
End With | |||
== Description == | |||
With allows you to do a series of operations on an object without having to name the object each time. | |||
== Example == | |||
<pre> | <pre> | ||
Rem With sample | |||
With document | |||
Print .URL | |||
Print .title | |||
Print .doctype | |||
End With | |||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
Line 26: | Line 26: | ||
</pre> | </pre> | ||
== Related Items == | |||
[[class|CLASS]] | [[class|CLASS]] | ||
[[Category:Language Reference]] |
Revision as of 04:21, 17 August 2012
With object
- [statements]
- [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]