Data Types: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>JulienDethurens
This isn't a data type...
 
(30 intermediate revisions by 6 users not shown)
Line 11: Line 11:
*[[Boolean]]
*[[Boolean]]
*[[String]]
*[[String]]
*[[Content]]
*[[Functions]]




Line 18: Line 20:
*[[UDim2]]
*[[UDim2]]
**[[UDim]]
**[[UDim]]
*[[Vector2]]
*[[Userdata]]
*[[Vector3]]
**[[Vector2]]
*[[Vector3int16]]
*[[CFrame]]
*[[CFrame]]
**[[Vector3]]
**''Rotation Matrix''
*[[Tables]]
*[[Tables]]
*[[BrickColor]]
*[[BrickColor]]
**[[Color3]]
**[[Color3]]
 
*[[Ray]]
<nowiki>*</nowiki>Please note that ''Rotation Matrix'' is not classified as a Data Type.*
*[[Struct]]
*[[Axes]]
*[[Content]]
*[[Faces_(Struct)|Faces]]
*[[Region3]]
*[[Region3int16]]


===Others===
===Others===
These are more complex, or just more specific. They tend to be an assortment of data.
These are more complex, or just more specific. They tend to be an assortment of data.


*[[Object]]
*[[Instance]]
**[[Instance]]
*[[Enumeration|Enumeration (Enum)]]
*[[Enumerator|Enumerator (Enum)]]
 
 
 
[[Category:Data Types]]

Latest revision as of 17:49, 7 April 2012

In Roblox Lua, as well as all programming languages, you will run into data types. These are the type of values that you can store in Variables and use in Functions. Roblox has several different types of data.

Single Values

These are data types that involve a simple number or other stuff.


Multiple Values

These data types take several different values at once, and have special formatting.

Others

These are more complex, or just more specific. They tend to be an assortment of data.