in reply to Re: Non-destructive substitution?
in thread Non-destructive substitution?

I am not sure that this function "apply()" is shorter or more usefull than a temporary variable... :)

BobiOne KenoBi ;)

Replies are listed 'Best First'.
Re: Non-destructive substitution?
by CharlesClarkson (Curate) on Jul 04, 2001 at 14:41 UTC

    Probably not, but it may be what was requested: "a cleaner way to do that, preferably without having to use a temporary variable each time".

    TIMTOWTDI,
    Charles K. Clarkson