k-games 0 Report post Posted January 22, 2006 (edited) Hi y have a cuestionwhat is the diference or INT.VAR AND CHAR.VARthanks Edited January 22, 2006 by BuffaloHELP (see edit history) Share this post Link to post Share on other sites
BuffaloHelp 24 Report post Posted January 22, 2006 Integer variable meaning positive whole numbers and negative whole number, including zero.Character variable meaning any key that can be assigned other than an integer or a special character, such as *, &, etc. Notice from BuffaloHELP: Your topic title and description must be specific and taken seriously. Editing. Share this post Link to post Share on other sites
switch 0 Report post Posted January 25, 2006 character variables store values between -128 and 127 for signed and 0 and 255 for unsigned. they take up one byte of memory and are most usually used to store Alphanumeric characters, i.e. 'a' 'b' '$' '/'. integers usually use between 16 and 32 bits of memory and can therefore store 2^16 or 2^32 different numbers (works out to be up to 4294967296). It's also important to note that Mathematical Operations (+x-/) should not be used on character variables. If you want to manipulate whole numbers, then use an integer. Share this post Link to post Share on other sites
leidmar 0 Report post Posted January 31, 2006 Hi y have a cuestion what is the diference or INT.VAR AND CHAR.VAR thanks 222931[/snapback] in a very simple way .. we have: char = a,b,c ,d, ... any character (you can put a number here, but if you want print it on the screen ... the compiler will print the ascii code). int = integer numbers : 0,1,2,3 ... 64000 Share this post Link to post Share on other sites