"mayayana" <mayaXXyana@newsgroup> wrote in message
>> i have a vbscript which was compiling with noerrors.
>> i was using editplus to write my vbscritps
>> today i tried using primalscript2009 editor.
>> i added some code to the script and when i tried to run the script i got
>> the "Error code 800A0408 Invalid Character" error.
>> i gone through my code a lot of time but i found no invalid character.
>> i need your help to resolve this issue.
> Why don't you look at the line that the error message
> told you the error is on, and then post it here? No one
> can help you figure out what character is invalid if
> they can't see your code.
> Usually that error will mean that you used something
> invalid in the context. A non alphanumeric in a variable
> or an operator that can't work might do it. Though
> WSH will try to force an operator to work if it can.
> For instance:
> i = 2
> s = 3
> msgbox i & s
> I tried that out thinking that it might result in an
> invalid character error, but instead the interpreter
> converted the numbers to strings and the msgbox
> showed "23"!
A google search for "800A0408" finds info such as these:
"If you cut and paste code from other sources (e.g. web sites, other
editors, etc) you often bring along characters that don't show up in Notepad
but are, nonetheless, present -- or do appear as non-prinatable characters,
that look like little squares. If you're looking at the line in question and
it isn't simply an unclosed string or a premature carriage return, try
deleting the line(s) altogether and re-typing them by hand. This should
eliminate the possibility of 'invisible' problem characters mucking up the
"Your VBScript contains an illegal character, often at the beginning of a
line. It can happen if you copy the script from word, then paste into
notepad. For example, to 'Rem out a line we need the apostrophe, which is
ASCII character 39; however if you paste from word you may get ASCII 96
It seems to me that the problem is not with either editor, but with editing