For convenience, the quotation is called with the button object that was
clicked. If you don't want it, you can just drop it.
"Press" [ *drop *"The button has been pressed." print ] <border-button>
gadget.
On Sun, Dec 16, 2012 at 4:01 PM, Samuel Proulx <proulxsam...@gmail.com>wrote:
> Hi,
>
> I'm sorry to spam the mailing list so much those last few days, I just
> have a project in mind but I'm having such a hard figuring it out in Factor.
>
> I've been trying to make a border-button for a UI. I looked at the help (
> \ <border-button> help ). I don't understand its "quot" parameter. It says
> it's "a quotation with stack effect ( button -- )". Since I don't really
> understand the part "with a stack effect", I decided to try something:
>
> "Press" [ "The button has been pressed." print ] <border-button> gadget.
>
> The button appears correctly, but when I click on it, I get the error
> "Quotation's stack effect does not match call site".
>
> Can someone tell what I did wrong?
>
> Thanks in advance,
> Samuel
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk