Adding variable information on errors
This commit is contained in:
		| @ -15,3 +15,11 @@ afficher l; | ||||
| # afficher x + 3, 3 + y; | ||||
| # x = -x; | ||||
| # afficher x; | ||||
|  | ||||
| # entier x = 2 + 3 * 4; | ||||
| # entier y = 3 * 4 + 2; | ||||
|  | ||||
| liste l = [1, 2, 3]; | ||||
|  | ||||
| afficher l[2]; | ||||
|  | ||||
|  | ||||
| @ -3,13 +3,13 @@ entier age = 23; | ||||
| booléen majeur = vrai; | ||||
|  | ||||
| booléen ingénieur; | ||||
|  | ||||
|   | ||||
| majeur = faux; | ||||
|  | ||||
|   | ||||
| afficher nom, age, majeur; | ||||
|  | ||||
|  | ||||
| #Ces lignes devraient donner une erreur | ||||
| # Ces lignes devraient donner une erreur | ||||
| # majeur = 42; | ||||
|  | ||||
| # afficher majeur; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user