addition





+ (addition) \ Language (API) \ Processing 1.0
























Search processing.org:





Language (A-Z) \ Libraries \ Tools \ Environment \ Compare \ Troubleshooting






Reference for Processing version 1.0+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name + (addition) Examples int a = 50 + 5; // Sets a to 55 int b = a + 5; // Sets b to 60String s1 = "Chernenko"; String s2 = "Brezhnev"; String sc1 = s1 + s2; String sc2 = s1 + ", Andropov, " + s2; println(sc1); // Prints ChernenkoBrezhnev println(sc2); // Prints Chernenko, Andropov, BrezhnevString s1 = "Gorbachev"; int i = 1987; String sc1 = s1 + i; println(sc1); // Prints Gorbachev1987 Description Adds two values or concatenates string values. As a mathematical operator, it calculates the sum of two values. As a string operator, it combines two strings into one and converts from primitive datatypes into the String datatype if necessary. Syntax value1 + value2 Parameters value1 String, int, float, char, byte, boolean value2 String, int, float, char, byte, boolean Usage Web & Application Related ++ (increment)+= (add assign)- (minus)

Updated on November 22, 2008 08:39:25pm PST












Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.


© Info \

Site hosted by Media Temple!









Wyszukiwarka

Podobne podstrony:
Additional Products fr
Plugins additional
additional resources?845C6F
Additional Products?
Additional Products
addition
ADDITIONAL VOCABULARY
ADDITIONAL PHRASAL VERBS
FLC Additional French Vocabulary
Additional Products ja
Food analysis Additives
addition 5dig
addition 3dig

więcej podobnych podstron