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

Go to the source code of this file.

Functions

void on_scroll_call (Environment *_environment, int _x, int _y, char *_label)
 Emit ASM code for ON SCROLL ... CALL ....

Function Documentation

◆ on_scroll_call()

void on_scroll_call ( Environment * _environment,
int _x,
int _y,
char * _label )

Emit ASM code for ON SCROLL ... CALL ....

This function outputs the code to implement the unconditional jump with returning, calculated by expression.

Parameters
_environmentCurrent calling environment
_expressionExpression with the true / false condition

Definition at line 75 of file on_scroll_call.c.