These are both "VB-isms" for lack of a better term and better documented there (I hope ;-). The
VBScript docs seem to assume you know VB or VBA.
--
Michael Harris
Microsoft.MVP.Scripting
--
Quote:
> It is one of the more useful things that is difficult to find in
> documentation. I have looked around but missed it. Another useful but
> undocumented (AFAIK) syntax is the : command which lets you put many
> commands onto one line.
> Dim MyInt : MyInt = 2
> <
> Because this is legacy VB syntax I suppose it is assumed knowledge.
> --
> Dominic
> Read The Docs? http://msdn.microsoft.com/scripting
> > Thanks mate. I thought that might be the answer, but I couldn't confirm
> it.
> > Is it in the documentation anywhere ?
> > > This is a really long line of VBScript syntax and it _
> > > continues down to yet another line!
> > > (code)(space)_(newline)
> > > (more code)
> > > -Chad
> > > > How do I split lines in VBScript that are too long ? I've checked the
> > > > documentation, web site etc but can't find any references.
> > > > Ta