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

Go to the source code of this file.

Functions

void exit_loop (Environment *_environment, int _number)
 Emit ASM code for EXIT.

Function Documentation

◆ exit_loop()

void exit_loop ( Environment * _environment,
int _number )

Emit ASM code for EXIT.

This function out of the loop. Optionally, the programmer can give the number of loops to jump out.

Parameters
_environmentCurrent calling environment
_numberNumber of loops to exit.

Definition at line 97 of file exit_loop.c.