[comp.windows.news] Changing a process variable from outside ?

skdutta@cs.tamu.edu (Saumen K Dutta) (12/16/90)

I need to develop a NeWS application where two clients should be able
to change each other's variables ( one of the client may also be a
remote client). For example if I have a class defined as follows:

var1 0 def
/Class1 [superclasses] 

dictbegin
	var2 0 def
dictend

classbegin
	var3 0 def
	.........
	< lots of other stuff>
	........
classend

/win framebuffer /new Class1 send def
/map win send


If I execute the above code by invoking "psh <filename>" from a
window, will I be able to change the variables var1, var2 or
var3 from some other client of the same server ( for eg. from
some other window)?. Or is it possible to define some global
variables inside the server and manipulate them from clients?

This work is a bit urgent and I am unable to solve it. I would
appreciate any help or pointer for the same.

Thanx a lot
S.K. Dutta
--
     _                                   ||Internet: skdutta@cssun.tamu.edu  
    (   /_     _ /   --/-/- _            ||Bitnet : skd8107@tamvenus.bitnet 
   __)_/(_____(_/_(_/_(_(__(_/_______    ||Uucp : uunet!cssun.tamu.edu!skdutta
                                 ..      ||Yellnet: (409) 846-8803