PtInit (name)
The name of the Photon server to attach to. If nil is passed then attach to the local Photon server.
This function initializes the widget library. It must be called before any Photon functions are used in your application.
To attach to the local Photon server:
Gamma> PtInit (nil);
t
To attach to a Photon server running on node 5:
Gamma> PtInit ("//5/dev/photon");
t
See the introduction of the Photon Functions chapter (Tutorial One) in the Cogent Tools Demo and Tutorials book for an example of this function used in context.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.