params[0] problem.
#2

Params is a string with an indefinite size, not an integer. The number params[0] prints is the ASCII code for that character.
The ASCII table: http://www.asciitable.com/

As you can see the number '2' is represented as the integer 50.

Quote:
Originally Posted by Wiki
params[], is the string entered after the command
Reply


Messages In This Thread
params[0] problem. - by GuitarMan - 19.10.2015, 16:34
Re: params[0] problem. - by AndySedeyn - 19.10.2015, 17:20
AW: params[0] problem. - by Kaliber - 19.10.2015, 17:24
Re: params[0] problem. - by GuitarMan - 19.10.2015, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)