16 lines
373 B
Markdown
16 lines
373 B
Markdown
# Set keyword in fa
|
|
|
|
`Set` keyword will set a specified memory location
|
|
to a specified value
|
|
|
|
`Set` takes two arguments of the stack:
|
|
|
|
- `Value`
|
|
- `Memory location`
|
|
|
|
The arguments:
|
|
|
|
- Argument `Value` defines the value of the memory to be set (any value)
|
|
- Argument `Memory location` defines the memory location (pointer)
|
|
|
|
Example of it can be found in `examples/sleep.fa`
|