FORM 4.3
Functions
if.c File Reference
#include "form3.h"

Go to the source code of this file.

Functions

WORD GetIfDollarNum (WORD *ifp, WORD *ifstop)
 
int FindVar (WORD *v, WORD *term)
 
WORD DoIfStatement (PHEAD WORD *ifcode, WORD *term)
 
WORD HowMany (PHEAD WORD *ifcode, WORD *term)
 
VOID DoubleIfBuffers ()
 
int DoSwitch (PHEAD WORD *term, WORD *lhs)
 
int DoEndSwitch (PHEAD WORD *term, WORD *lhs)
 
SWITCHTABLEFindCase (WORD nswitch, WORD ncase)
 
int DoubleSwitchBuffers ()
 
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()

WORD 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 818 of file if.c.

◆ DoubleIfBuffers()

VOID DoubleIfBuffers ( )

Definition at line 1011 of file if.c.

◆ DoSwitch()

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

Definition at line 1048 of file if.c.

◆ DoEndSwitch()

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

Definition at line 1064 of file if.c.

◆ FindCase()

SWITCHTABLE * FindCase ( WORD  nswitch,
WORD  ncase 
)

Definition at line 1075 of file if.c.

◆ DoubleSwitchBuffers()

int DoubleSwitchBuffers ( )

Definition at line 1113 of file if.c.

◆ SwitchSplitMergeRec()

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

Definition at line 1162 of file if.c.

◆ SwitchSplitMerge()

VOID SwitchSplitMerge ( SWITCHTABLE array,
WORD  num 
)

Definition at line 1191 of file if.c.