Dumb Syntax Question 
Author Message
 Dumb Syntax Question

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



Tue, 15 Apr 2003 05:16:55 GMT  
 Dumb Syntax Question

This is a really long line of VBScript syntax and it _
  continues down to yet another line!

(code)(space)_(newline)
   (more code)

-Chad


Quote:
> 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



Tue, 15 Apr 2003 05:24:51 GMT  
 Dumb Syntax Question

Thanks mate. I thought that might be the answer, but I couldn't confirm it.
Is it in the documentation anywhere ?


Quote:
> 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



Tue, 15 Apr 2003 05:28:40 GMT  
 Dumb Syntax Question

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


Quote:
> 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



Tue, 15 Apr 2003 05:42:42 GMT  
 Dumb Syntax Question

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



Tue, 15 Apr 2003 09:15:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Newbie: dumb question, very dumb....

2. Simple Question (dumb Question)

3. Simple Question (dumb Question)

4. Dumb question about "Encapsulated PostScript"

5. More dumb font questions

6. Really dumb Acrobat SDK 5.0 question

7. Dumb Question?

8. Newbie Question - maybe dumb!

9. dumb question

10. dumb question about FTP/vbscipt

11. IE5 and javascript - really dumb question!

12. Dumb Beginners Question (sorry)

 

 
Powered by phpBB® Forum Software