On Sat, 9 Jan 2016 22:35:24 +0100
Benoît Minisini <gam...@users.sourceforge.net> wrote:

> Le 09/01/2016 22:28, adamn...@gmail.com a écrit :
> > We have a set of "tools" that we use with Gambas. They are generally
> > stand alone and are invoked "by hand" and at startup the user selects
> > the Gambas source project to "attach" to. Now I want to provide some
> > integration between them, i.e. allow Tool_B to be invoked from a
> > Tool_A menu or button.  In that case, I want to pass a context, i.e.
> > the source project that is attached in Tool_A.
> >
> > What I want to determine is what's the best way to find out, in
> > Tool_B "how I was invoked".
> >
> > Currently I think that using gb.Args and passing a specific flag
> > option to indicate that has been invoked from another tool (I can
> > test that with Args.Has).
> >
> > But I'm not sure that this is really the "best" way.  Any thoughts?
> >
> > regards bruce
> >
> 
> What's the problem with passing arguments to a program ? There is just a 
> limit on the total size in bytes of the arguments. Run "xargs 
> --show-limits" to get it.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

OK, I just had a feeling...

On another tack, the gb.Args Args class help page contains the line:
"Return non-options as arguments."

What does that mean?

regards
bruce
-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to