422 Chapter 11
Optimizing Agilent VEE Programs
Using Dynamic Link Libraries
The whichos() function has been used in a renamed Formula object to
identify the operating system. An expanded
If/Then/Else object
examines the output of the
whichos() function, then triggers the
appropriate text constant. This filename extension is then added to the
MANUAL49 file using a renamed Formula object. (The input terminal on the
Formula object labeled shared library has also been changed to ext.)
A control pin for a
File Name has been added to the Import Library
object; hence, there is a dotted line between the UserObject and the
Import Library.
Note Investigate To/From Socket for sharing data in mixed environments,
such as sending data to a database. Also, the example games Battleship and
Euchre make extensive use of sockets to communicate between multiple
VEE processes.