Char: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
A character is, programmatically, one ASCII number value used to represent a keyboard character (a, x, 1, 6, ê).
[[category:variables]]
A '''character''' is, programmatically, one ASCII number value used to represent a keyboard character (a, x, 1, 6, ê). This variable is declared by the name char.


This is a primitive C object.
This is a primitive C object.


[[String]]s are [[array]]s of '''Characters'''. These are used more often than characters are in the [[Source Engine]].
[[String]]s are [[array]]s of '''Characters'''. These are used more often than characters are in the [[Source Engine]].

Revision as of 16:33, 14 July 2005

A character is, programmatically, one ASCII number value used to represent a keyboard character (a, x, 1, 6, ê). This variable is declared by the name char.

This is a primitive C object.

Strings are arrays of Characters. These are used more often than characters are in the Source Engine.