home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
SCIENCE
/
STAGES12.ZIP
/
GLOBALS.H
< prev
next >
Wrap
Text File
|
1991-04-16
|
2KB
|
62 lines
#include "defines.h"
#include <stdio.h>
#include <math.h>
#if PC
#include <alloc.h>
#include <conio.h>
#endif
#include <string.h>
#include <stdlib.h>
/************************************************************************/
/** global variables **/
/************************************************************************/
FILE
#if PC
*tmpfp, /* temp file for holding output, to dump
to printer if user desires */
#endif
*fpout; /* output filepointer */
double
CycleTime, /* days per cycle of stages */
OldCycleTime, /* previous value, needed when changing */
DefaultCycleTime, /* default cycle time */
EpiTime, /* days in epididymis transit time */
*stage; /* array of stage lengths: */
char
tab4[5], /* 4 spaces */
tab[9], /* 8 spaces */
tab2[17], /* 16 spaces */
#if PC
TMPFIL[FILELEN], /* tmp output file name */
#endif
*Animal, /* name of current animal */
**CellNames, /* array of cell names */
***MultiCellNames; /* array of cell names for stages with
>1 cell in it */
int
NumCellSeq, /* number of cells in the cell sequence */
OldNumCellSeq, /* prev val of NumCellSeq, for freeing */
MaxCellIndex, /* largest cell index */
NumStages, /* number of stages in cycle */
OldNumStages, /* prev val of NumStages, for freeing */
MaxStage, /* largest numbered stage - 1 */
NumMultiCells, /* # of stages w/multicells, depends on
the animal selected */
OldNumMultiCells, /* prev val, for freeing */
CycleStart, /* spermatogenesis start cell index # */
interactive, /* =0 if inputfile, =1 if interactive */
NewCycleTime, /* =1 if new CycleTime entered, =0 else */
AnimalNum, /* code # of current animal */
#if PC
HARDCOPY, /* =1 if PC user wants hardcopy */
introprint, /* =1 if intro sent to printer once */
#endif
FILEq, /* if output file specified */
FILECOPY; /* =1 if user wants o/p to go to file */