servertype

BAP Online Manuals : Library Reference : Library by Name : servertype
Previous: send_msg
Next: setprofile

6.2.119. servertype

returns a the type of the host server

SYNOPSIS

INCLUDE 'iolib.h'
servertype(Type)

SYNTAX

servertype(Type) (o)

ARGUMENTS

string(Type) (o) type of the host server

DESCRIPTION

This returns a string by which the type of the host server can be determined. Currently defined is:
PROLIO MS-DOS text based server
WIO MS-Windows based graphics server
XWIO X-Windows based graphics server

EXAMPLE

servertype(Type),
Type = "PROLIO",
write("No graphics today!"),nl.

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object


BAP Online Manuals : Library Reference : Library by Name : servertype
Previous: send_msg
Next: setprofile