Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
Accessing C global variables
Factor documentation
>
Factor handbook
>
C library interface
Prev:
Struct classes
Next:
Calling arbitrary assembly code
The
alien.syntax
vocabulary defines two parsing words for accessing the value of a global variable, and get the address of a global variable, respectively.
C-GLOBAL:
&: