[slang-users] Can S-Lang do this ?
Ben Duncan
ben at versaccounting.com
Wed Jul 6 12:49:43 EDT 2005
Yes, where it is evaluated in a particular order and ..
No, return_data_value simply returns a "string" as a parameter
to the rest of the function call.
John E. Davis wrote:
> Ben Duncan <ben at versaccounting.com> wrote:
>
>>input_rtn ( row, col, rs, cs, "A", return_data_value (1, 12 ), Refsh ) ;
>>
>>Where in the ABOVE "input_rtn", S-lang executes return_value and pushes that on
>>to the stack AFTER having pushed Refsh and before the rest and then calling
>> "input_rtn".
>
>
> Are you asking that the parameters in the parameter list be evaluated
> in a particular order? Does `return_data_value` have side-effects
> where Refsh, row, etc are modified? If so, then you may need to make
> the function call like:
>
> row1 = row;
> col1 = col;
> .
> .
> Refsh1 = Refsh;
> val = return_data_value (1, 12);
> input_rtn (row1, col1, ..., val, Refsh1);
>
> Thanks,
> --John
>
--
Ben Duncan - VersAccounting Software LLC 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the slang-users-l
mailing list