ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
case_equals.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void case_equals_label (Environment *_environment)
void case_equals_var (Environment *_environment, char *_value)
 Emit ASM code for CASE ....
void case_equals (Environment *_environment, int _value)
 Emit ASM code for CASE ....

Function Documentation

◆ case_equals()

void case_equals ( Environment * _environment,
int _value )

Emit ASM code for CASE ....

This function outputs the code to implement a single comparison of a structured conditional jump.

Parameters
_environmentCurrent calling environment
_expressionExpression with the true / false condition

Definition at line 148 of file case_equals.c.

◆ case_equals_label()

void case_equals_label ( Environment * _environment)

Definition at line 74 of file case_equals.c.

◆ case_equals_var()

void case_equals_var ( Environment * _environment,
char * _value )

Emit ASM code for CASE ....

This function outputs the code to implement a single comparison of a structured conditional jump.

Parameters
_environmentCurrent calling environment
_expressionExpression with the true / false condition

Definition at line 106 of file case_equals.c.