"T Lavedas" <tglbatch@xxxxxx> wrote in message
On Jun 7, 10:16 am, "Pegasus [MVP]" <n...@xxxxxx> wrote:
> "Larry" <larry328NOS...@xxxxxx> wrote in message
> > Also, I've just realized that strings created in .vbs files are not
> > limited
> > to 255 characters. I thought that they were. I seem to remember in the
> > past
> > wanting to create long strings and finding it wasn't possible because of
> > the
> > 255 character limit. Am I imagining that, or has there been a change in
> > the
> > capability of VB scripting?
> You're thinking of Turbo Pascal.
I believe the very early Basics, including QBasic were limited to 255
Also, VBScript still limits strings to 1024 characters in MsgBox
displays. The WSH ECHO is not limited (except by what can be seen on
I think VBScript's message box is the limitation; it limits the display to
the shorter of:
1) the first 1024 characters of a string or
2) the beginning of a string up to the first Chr(0) character.