So, this should be pretty simple. Add 4=2 to get 6, but it won't run in the serial output box at the bottom. I thought this would run like a Hello World function. Is this all wrong? or is there something I'm just missing?
A variable defined as string can contain any of the characteers set including numbers, letters or special symbols. In this case you defined x as an integer so it can contain only integer numbers from zero to a maxvalue defined by the hardware of your system. Putting your x between quotes you are instructing the code to print the letter "x".
View all comments
Show parent comment
1
u/Marco_R63 Aug 12 '23
A variable defined as string can contain any of the characteers set including numbers, letters or special symbols. In this case you defined x as an integer so it can contain only integer numbers from zero to a maxvalue defined by the hardware of your system. Putting your x between quotes you are instructing the code to print the letter "x".