Professional Documents
Culture Documents
• Fonctions
• Variables
• Boucles
• Conditions ( comparaisons )
Processing
Les variables
• Déclaration, affectation
Processing
Les variables
• Type
• int, float,boolean,char,String,...
• Nom de la variable
• ne doit pas commencer par un caractère spécial ( ‘?’, ’_’, espace,
chiffres,... )
• Affectation ( “=” )
Processing
Les variables
Processing
Les fonctions
Processing
Les fonctions
Processing
Les fonctions
Processing
Les fonctions : syntaxe
Processing
Les boucles : for
Processing
Les conditions : if
Processing
Les conditions : if / else
Processing
Comparaisons / Tests
• Test
• variables de même type
• < , <=, >, >=, ==
• Ne pas confondre ‘=’ et ‘==’ !
Processing
Mode continu