Difference between revisions of "LSL 101/LSL in Focus: Types"
< LSL 101
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{NavNextPrev|prefix=LSL in Focus: |prev=|topic=Language Topics in Focus|next=Integers}} | {{NavNextPrev|prefix=LSL in Focus:_|prev=|topic=Language Topics in Focus|next=Integers}} | ||
__TOC__ | __TOC__ |
Latest revision as of 15:37, 1 June 2009
↑̲ Language Topics in Focus ̲↑ | Integers → |
Summary of Types
In a scripting language, types are a way of categorizing the values that the language can manipulate. In LSL, there are seven different types. Each of these types has its own representation and its own set of operations and/or built-in functions for manipulating values of that type. Here's a quick overview of each type and how it is used in LSL.
Integers
Integers are (a subset of) the basic "whole" numbers -- positive, negative and zero -- of mathematics. They are a very fundamental type in most computer languages. In LSL, they are used in four distinct ways.