Thanks, I should read effect TUPLE define first. :-p

2009/8/24 Adam <[email protected]>:
> <effect> takes arrays of tokens:
>
>> { "x" } { "y" } <effect>
> (( x -- y ))
>
>
>
> On Sun, Aug 23, 2009 at 8:34 PM, Linnet <[email protected]> wrote:
>>
>> Hi,List!
>>
>> I try to make a defining word with certain stack effect, like this:
>>
>> > SYNTAX: FOO: scan 1quotation CREATE-WORD swap "" "x" <effect>
>> > define-declared ;
>>
>> But I check the word I declare by FOO: , the stack effect is ( -- 120 ).
>>
>> Then I found this:
>>
>> > ( scratchpad ) "x" "y" f effect boa
>> >
>> > --- Data stack:
>> > (( 120 -- 121 ))
>>
>> Only ``complete-effect ( -- effect )`` will save the right result.
>>
>> How can I solve this problem?
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Factor-talk mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to