Comparison of Basic Instructions of Programming Languages

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(initial page content; table is empty at this point, but will be fleshed out)
 
(Added type identifier info, as much as I know.)
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 [[guillemets]] (« … ») are optional. {{keypress|tab}} indicates a necessary indent.
{{-}}
+
  
  
Line 18: Line 17:
 
! UnityScript/[http://en.wikipedia.org/wiki/JavaScript JavaScript]
 
! UnityScript/[http://en.wikipedia.org/wiki/JavaScript JavaScript]
 
|-
 
|-
!  
+
! [http://en.wikipedia.org/wiki/Integer_(computer_science) Integers] Type Identifiers
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 +
|-
 +
! 8 bit (byte) Signed
 +
|
 +
| sbyte
 +
| {{n/a}}
 +
|-
 +
! 8 bit (byte) Unsigned
 +
|
 +
| byte
 +
| {{n/a}}
 +
|-
 +
! 16 bit (short integer) Signed
 +
|
 +
| short
 +
| {{n/a}}
 +
|-
 +
! 16 bit (short integer) Unsigned
 +
|
 +
| ushort
 +
| {{n/a}}
 +
|-
 +
! 32 bit Signed
 +
|
 +
| int
 +
| {{n/a}}
 +
|-
 +
! 32 bit Unsigned
 +
|
 +
| uint
 +
| {{n/a}}
 +
|-
 +
! 64 bit Signed
 +
|
 +
| long
 +
| {{n/a}}
 +
|-
 +
! 64 bit Unsigned
 +
|
 +
| ulong
 +
| {{n/a}}
 
|}
 
|}
  

Revision as of 02:15, 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 Basic Instructions of Programming Languages for more detailed information

Language Boo C# UnityScript/JavaScript
Integers Type Identifiers
8 bit (byte) Signed sbyte N/A
8 bit (byte) Unsigned byte N/A
16 bit (short integer) Signed short N/A
16 bit (short integer) Unsigned ushort N/A
32 bit Signed int N/A
32 bit Unsigned uint N/A
64 bit Signed long N/A
64 bit Unsigned ulong N/A



Programming Index

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox