Difference between revisions of "Void keyword"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
You can't define a variable of void type.
 
You can't define a variable of void type.
  
[[Category:DAScript types]]
+
[[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.