home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
aplikace
/
komunika
/
telixwin
/
tfw.5
/
VERSIONS.SLT
< prev
next >
Wrap
Text File
|
1995-07-28
|
1KB
|
36 lines
/****************************************************************/
/* */
/* Demo of how to determine what version of Telix, for DOS or */
/* Windows and its version number, to keep scripts compatible. */
/* */
/* Copyright 1995 deltaComm Development, Inc. */
/* */
/****************************************************************/
main()
{
str ss[128];
printsc("Telix for "); // Test Windows or DOS
if (telixforwindows())
prints("Windows");
else
prints("DOS");
if (!scriptversion()) // If TFW's SALT II, then
printsc("Not "); // say so, or say not if not.
prints("SALT II compatible");
printsc("Telix version: ");
prints(Telixversion(ss)); // Display version of Telix
if (getenv("TELIX", ss)) // if environment variable exists
{ // then show its value here.
printsc("TELIX variable value: ");
prints(ss);
}
printsc("Current Phonebook: ");
prints(getfon(ss));
}