Tom
Mon Dec 03 06:27:17 PST 2007
On Dec 3, 9:05 am, greg chu <greg_...@wendys.com> wrote:
> Hi, all,
>
> below uses ":" to put two statement in on line. Any one know where I
> can find explanation of this usage or this way just to put statment in
> one line.
>
> Thanks.
> Greg
>
> Dim sIP_Address : sIP_Address = GetIP()
I found a documented reference in the WSH downloadable help file at "A
Simple VBScript Page". I used a search on the word 'colon' to locate
it. It was applied to the use in an HTML context. I also found a
reference to its use in an IF/Else context at "If...Then...Else
Statement".
WSH 5.6 documentation download (URL all one line)
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/