Difference between revisions of "Void keyword"
From Dragon Age Toolset Wiki
m (Fixing category) |
m |
||
Line 5: | Line 5: | ||
You can't define a variable of void type. | You can't define a variable of void type. | ||
− | [[Category: | + | [[Category:Keywords]] |
Latest revision as of 23:38, 2 August 2011
The void "data type" is actually not a data type at all, but rather the absence of one.
A function that does not return any value after executing will be denoted as having a "void" return type.
You can't define a variable of void type.