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

Go to the source code of this file.

Functions

void begin_for_mt_step (Environment *_environment, char *_index, char *_from, char *_to, char *_step)
 Emit ASM code for FOR ... STEP ... NEXT (in thread).

Function Documentation

◆ begin_for_mt_step()

void begin_for_mt_step ( Environment * _environment,
char * _index,
char * _from,
char * _to,
char * _step )

Emit ASM code for FOR ... STEP ... NEXT (in thread).

This function outputs the code to implement the starting point of a FOR ... STEP ... NEXT loop inside a thread

Parameters
_environmentCurrent calling environment
_indexVariable to use as index
_fromStarting value
_toEnding value
_stepStep value

Definition at line 53 of file begin_for_mt_step.c.