Data Types: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer New page: {{CatUp|Scripting}} 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 [[Functi... |
>JulienDethurens This isn't a data type... |
||
(70 intermediate revisions by 7 users not shown) | |||
Line 7: | Line 7: | ||
*[[Nil]] | *[[Nil]] | ||
*[[Number]] | |||
**[[Integer]] | |||
**[[ | |||
*[[Boolean]] | *[[Boolean]] | ||
*[[String]] | *[[String]] | ||
*[[Content]] | |||
*[[Functions]] | |||
Line 18: | Line 19: | ||
*[[UDim2]] | *[[UDim2]] | ||
**[[UDim]] | |||
*[[Userdata]] | |||
*[[Vector3]] | *[[Vector3]] | ||
**[[Vector2]] | |||
*[[Vector3int16]] | |||
*[[CFrame]] | *[[CFrame]] | ||
*[[Tables]] | |||
*[[BrickColor]] | |||
**[[Color3]] | |||
*[[Ray]] | |||
*[[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. | ||
*[[ | *[[Instance]] | ||
* | *[[Enumeration|Enumeration (Enum)]] | ||
[[ |
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.
- UDim2
- Userdata
- Vector3
- Vector3int16
- CFrame
- Tables
- BrickColor
- Ray
- Struct
- Axes
- Content
- Faces
- Region3
- Region3int16
Others
These are more complex, or just more specific. They tend to be an assortment of data.