O.P. Just adding a couple of lines, and my script doesn't work anymore!
Hello, all of you.
I'm making a script, just for fun, and I don't think I'm ever going to publish it, just for learning, but I have a problem now. The script translates 'normal' language into binary code, and it works pretty good. at least, until I start to add symbols (!,/,*,&,%,$, etc...) to translate. Than I get an error message, wich says my script is broken or I do not have enough rights...
can anybody help?
PS:
[/code]function translate(Message)
{
(...)
Message = Message.replace(/<symbol/letter>/gi, "<binary code, like: 00100000> ");
(...)
return Message;
}[code]
|