Updated Programming language specification (Gemstone) (markdown)

servostar 2024-01-30 22:02:58 +00:00
parent 83f5903c23
commit e8ea3fbbe1
1 changed files with 9 additions and 4 deletions

@ -48,7 +48,12 @@ The base of a composite type specifies on which primitive or composite type a de
## Example types
```cpp
typedef long float double_precision
typedef short short int ascii
typedef double int long_int
long float = double_precision
short short = int ascii
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