FORM v5.0.0-35-g6318119
Functions
if.c File Reference
#include "form3.h"
Include dependency graph for if.c:

Go to the source code of this file.

Functions

WORD GetIfDollarNum (WORD *ifp, WORD *ifstop)
 
int FindVar (WORD *v, WORD *term)
 
int DoIfStatement (PHEAD WORD *ifcode, WORD *term)
 
WORD HowMany (PHEAD WORD *ifcode, WORD *term)
 
void DoubleIfBuffers (void)
 
int DoSwitch (PHEAD WORD *term, WORD *lhs)
 
int DoEndSwitch (PHEAD WORD *term, WORD *lhs)
 
SWITCHTABLEFindCase (WORD nswitch, WORD ncase)
 
int DoubleSwitchBuffers (void)
 
void SwitchSplitMergeRec (SWITCHTABLE *array, WORD num, SWITCHTABLE *auxarray)
 
void SwitchSplitMerge (SWITCHTABLE *array, WORD num)
 

Detailed Description

Routines for the dealing with if statements.

Definition in file if.c.

Function Documentation

◆ GetIfDollarNum()

WORD GetIfDollarNum ( WORD *  ifp,
WORD *  ifstop 
)

Definition at line 106 of file if.c.

◆ FindVar()

int FindVar ( WORD *  v,
WORD *  term 
)

Definition at line 173 of file if.c.

◆ DoIfStatement()

int DoIfStatement ( PHEAD WORD *  ifcode,
WORD *  term 
)

Definition at line 280 of file if.c.

◆ HowMany()

WORD HowMany ( PHEAD WORD *  ifcode,
WORD *  term 
)

Definition at line 840 of file if.c.

◆ DoubleIfBuffers()

void DoubleIfBuffers ( void  )

Definition at line 1033 of file if.c.

◆ DoSwitch()

int DoSwitch ( PHEAD WORD *  term,
WORD *  lhs 
)

Definition at line 1070 of file if.c.

◆ DoEndSwitch()

int DoEndSwitch ( PHEAD WORD *  term,
WORD *  lhs 
)

Definition at line 1086 of file if.c.

◆ FindCase()

SWITCHTABLE * FindCase ( WORD  nswitch,
WORD  ncase 
)

Definition at line 1097 of file if.c.

◆ DoubleSwitchBuffers()

int DoubleSwitchBuffers ( void  )

Definition at line 1135 of file if.c.

◆ SwitchSplitMergeRec()

void SwitchSplitMergeRec ( SWITCHTABLE array,
WORD  num,
SWITCHTABLE auxarray 
)

Definition at line 1184 of file if.c.

◆ SwitchSplitMerge()

void SwitchSplitMerge ( SWITCHTABLE array,
WORD  num 
)

Definition at line 1213 of file if.c.