Difference between revisions of "Void keyword"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
You can't define a variable of void type.
 
You can't define a variable of void type.
  
[[Category:data types]]
+
[[Category:DAScript types]]

Revision as of 02:43, 31 July 2009

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.