to clarify for myself In host database: Wnd_CloseBox(True) //do a bunch of stuff
(in same process - later) if(Wnd_CloseBox) // this will happen as it was set before (in different process) if(Wnd_CloseBox) // this will Not happen as it was not set before is that correct? > Chip, > Totally separate variable name space. > You can access variables via pointer and that's it. > > Otherwise I use access methods quite a lot. Consider this method (from a > component) to set a variable associated with a boolean: > > // Project Method: Wnd_CloseBox ({Include a close box?}) --> Boolean > > C_BOOLEAN(Wnd_CloseBox_b) > C_BOOLEAN($1;$0) > > If (Count parameters=1) > Wnd_CloseBox_b:=$1 > End if > $0:=Wnd_CloseBox_b > > I have lots of methods named almost identically to the variable like this > (it's easier to set up in a macro!). > > I find this much easier to work with than using pointers and the coding of > it feels very similar to using a variable. > > If (Wnd_CloseBox) > // Do something > end if > > or > > Wnd_CloseBox(True)// To set the variable > > Note that 4D does not complain if there is a $0 value returned and not used > at all. > > > > > > > > > Regards, > > Wayne > > > [image: --] > Wayne Stewart > [image: http://]about.me/waynestewart > <http://about.me/waynestewart> > > > On 22 April 2017 at 07:41, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> I am working on my first component - >> all the chat about them :) >> >> process and inter process variables >> what can be seen by the component of/from the host, and vis-verse >> >> At the moment - I am looking at an inter process var in my nascent >> component, >> can the host database see this? >> if I change an IP variable value in a component does it change the host >> value? >> >> Thanks >> --------------- >> Gas is for washing parts >> Alcohol is for drinkin' >> Nitromethane is for racing >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >> ********************************************************************** > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ------------ Hell is other people Jean-Paul Sartre ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************