ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_Constant Struct Reference

Structure of a single constant. More...

#include <ugbc.h>

Data Fields

char * name
char * realName
ConstantType type
int imported
int value
StaticStringvalueString
double valueFloating
int emitted
char * relative
struct _Constantnext

Detailed Description

Structure of a single constant.

Definition at line 797 of file ugbc.h.

Field Documentation

◆ emitted

int emitted

Definition at line 827 of file ugbc.h.

◆ imported

int imported

This flag mark if this variable is imported by external ASM

Definition at line 810 of file ugbc.h.

◆ name

char* name

Name of the constant (in the program)

Definition at line 800 of file ugbc.h.

◆ next

struct _Constant* next

Link to the next constant (NULL if this is the last one)

Definition at line 832 of file ugbc.h.

◆ realName

char* realName

Real name (used for source generation)

Definition at line 803 of file ugbc.h.

◆ relative

char* relative

Definition at line 829 of file ugbc.h.

◆ type

Definition at line 805 of file ugbc.h.

◆ value

int value

The initial (numeric) value of the variable, as given by last (re)definition.

Definition at line 815 of file ugbc.h.

◆ valueFloating

double valueFloating

The initial (floating) value of the variable, as given by last (re)definition.

Definition at line 825 of file ugbc.h.

◆ valueString

StaticString* valueString

The pointer to the constant string.

Definition at line 820 of file ugbc.h.


The documentation for this struct was generated from the following file: