Comparison of Basic Instructions of Programming Languages

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(Added type info for floating types)
(Fixed bad link to guillemets)
Line 3: Line 3:
 
== Conventions of This Article ==
 
== Conventions of This Article ==
  
The '''bold''' is the literal code. The non-bold is interpreted by the reader. Statements in [[guillemets]] (« … ») are optional. {{keypress|tab}} indicates a necessary indent.
+
The '''bold''' is the literal code. The non-bold is interpreted by the reader. Statements in [http://en.wikipedia.org/wiki/Guillemets guillemets] (« … ») are optional. {{keypress|tab}} indicates a necessary indent.
  
  

Revision as of 02:27, 3 August 2009

Basic instructions of the three high-level programming languages offered by Unity (JavaScript, C#, and Boo) are compared here.

Conventions of This Article

The bold is the literal code. The non-bold is interpreted by the reader. Statements in guillemets (« … ») are optional. tab indicates a necessary indent.


Comparison

The following tables compares technical information of the Unity programming languages. See also the Comparison of Programming Languages for general information.

Language Boo C# UnityScript/JavaScript
Integer Type Identifiers
8 bit (byte) Signed sbyte N/A
8 bit (byte) Unsigned byte N/A
16 bit (short integer) Signed short short N/A
16 bit (short integer) Unsigned ushort N/A
32 bit Signed int int N/A
32 bit Unsigned uint N/A
64 bit (long integer) Signed long long N/A
64 bit long integer) Unsigned ulong N/A
Floating Point Type Identifiers
Single Precision single float N/A
Double Precision double double Number
Arbitrarily precise (bignum) decimal



Programming Index

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox