FORM  4.2.1
Functions | Variables
message.c File Reference
#include "form3.h"

Go to the source code of this file.

Functions

VOID Error0 (char *s)
 
VOID Error1 (char *s, UBYTE *t)
 
VOID Error2 (char *s1, char *s2, UBYTE *t)
 
int MesWork ()
 
 va_start (ap)
 
 WriteString (ERROROUT,(UBYTE *) Out, num)
 
 va_end (ap)
 
 if (specialerror==1)
 
 return (-1)
 
VOID Warning (char *s)
 
VOID HighWarning (char *s)
 
int MesCall (char *s)
 
WORD MesCerr (char *s, UBYTE *t)
 
WORD MesComp (char *s, UBYTE *p, UBYTE *q)
 
VOID PrintTerm (WORD *term, char *where)
 
VOID PrintTermC (WORD *term, char *where)
 
VOID PrintSubTerm (WORD *term, char *where)
 
VOID PrintWords (WORD *buffer, LONG number)
 
void PrintSeq (WORD *a, char *text)
 

Variables

int va_dcl
 
UBYTE extrabuffer [MAXLINELENGTH+14]
 
int w
 
int x
 
int i
 
int specialerror = 0
 
LONG num
 
LONG y
 
WORD * array
 
UBYTE * oldoutfill = AO.OutputLine
 
UBYTE * barray
 
LONG(* OldWrite )(int handle, UBYTE *buffer, LONG size) = WriteFile
 
va_list ap
 
 s = va_arg(ap,char *)
 
 FLUSHCONSOLE
 
 WriteFile = &WriteFileToFile
 
AO OutputLine = extrabuffer
 
 t = Out
 
 stopper = Out + AC.LineLength
 

Detailed Description

Contains the routines that write messages. This includes the very important routine MesPrint which is the FORM equivalent of printf but then with escape sequences that are relevant for symbolic manipulation. The FORM statement Print "...." is passed almost literally to MesPrint.

Definition in file message.c.

Variable Documentation

int va_dcl
Initial value:
{
GETIDENTITY
char Out[MAXLINELENGTH+14], *stopper, *t, *s, *u, c, *carray

Definition at line 143 of file message.c.