Updated Programming language specification (Gemstone) (markdown)
parent
83f5903c23
commit
e8ea3fbbe1
|
@ -48,7 +48,12 @@ The base of a composite type specifies on which primitive or composite type a de
|
||||||
|
|
||||||
## Example types
|
## Example types
|
||||||
```cpp
|
```cpp
|
||||||
typedef long float double_precision
|
long float = double_precision
|
||||||
typedef short short int ascii
|
short short = int ascii
|
||||||
typedef double int long_int
|
double int = long_int
|
||||||
```
|
```
|
||||||
|
## Storage qualifier
|
||||||
|
Variables may have storage qualifier. These keywords describe how a variable is to be stored upon its creation. Available options are:
|
||||||
|
- `local`: store variable on function-local stack
|
||||||
|
- `global`: store variable on dynamically process-level heap
|
||||||
|
- `static`: store variable in process-level data segment with static allocation
|
||||||
|
|
Loading…
Reference in New Issue