19.10.2015, 17:20
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.
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
|