Skip to content
Snippets Groups Projects
Commit 0f977561 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Take into account suggestions of Alexiane

parent 50586504
No related branches found
No related tags found
1 merge request!147Take into account suggestions of Emmanuel
...@@ -433,7 +433,7 @@ change of type in its lifetime. ...@@ -433,7 +433,7 @@ change of type in its lifetime.
**** Declaration of simple variables **** Declaration of simple variables
To declare a variable ~v~ of a given type ~V~, one writes To declare a variable ~v~ of a given type ~V~, one simply writes
#+BEGIN_SRC pugs :exports source #+BEGIN_SRC pugs :exports source
let v:V; let v:V;
#+END_SRC #+END_SRC
...@@ -475,7 +475,7 @@ already been /declared/, one writes simply ...@@ -475,7 +475,7 @@ already been /declared/, one writes simply
#+BEGIN_SRC pugs :exports source #+BEGIN_SRC pugs :exports source
v = expression; v = expression;
#+END_SRC #+END_SRC
There is not to much to comment, reading is quite natural There is not too much to comment, reading is quite natural
- ~v~ is the variable name, - ~v~ is the variable name,
- ~=~ is the affectation operator, - ~=~ is the affectation operator,
- ~expression~ is some code that provides a value of the same type as ~v~ - ~expression~ is some code that provides a value of the same type as ~v~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment