Difference between pages "String" and "File:Mandlezoom.jpg"

From Mesham
(Difference between pages)
Jump to navigationJump to search
 
(Mandelbrot Performance Tests)
 
Line 1: Line 1:
== Syntax ==
+
Mandelbrot Performance Tests
 
 
String
 
 
 
== Semantics ==
 
 
 
A string of characters. All strings are immutable, concatenation of strings will in fact create a new string.
 
 
 
=== Default typing ===
 
 
 
{{ElementDefaultTypes}}
 
 
 
== Example ==
 
 
 
function void main() {
 
    var i:String;
 
    var p:="Hello World!";
 
};
 
 
 
In this example variable ''i'' is explicitly declared to be of type ''String''. Variable ''p'' is found, via type inference, also to be of type ''String''.
 
 
 
''Since: Version 0.41b''
 
 
 
== Communication ==
 
 
 
{{ElementTypeCommunication}}
 
 
 
[[Category:Element Types]]
 
[[Category:Type Library]]
 

Revision as of 18:03, 11 January 2010

Mandelbrot Performance Tests