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

Go to the source code of this file.

Functions

void else_if_then_label (Environment *_environment)
 Emit ASM code for ... ELSE [IF] ....
void else_if_then (Environment *_environment, char *_expression)
 Emit ASM code for ... ELSE [IF] ....

Function Documentation

◆ else_if_then()

void else_if_then ( Environment * _environment,
char * _expression )

Emit ASM code for ... ELSE [IF] ....

This function outputs the code to implement the alternative for a conditional if.

Parameters
_environmentCurrent calling environment
_expressionExpression with the true / false condition

Definition at line 80 of file else_if_then.c.

◆ else_if_then_label()

void else_if_then_label ( Environment * _environment)

Emit ASM code for ... ELSE [IF] ....

This function outputs the code to implement the alternative for a conditional if.

Parameters
_environmentCurrent calling environment
_expressionExpression with the true / false condition

Definition at line 50 of file else_if_then.c.