All pastes #399814 Raw Edit

Kerst's Challenge

public text v1 · immutable
·published 2007-03-18 08:27 UTC
rendered paste body
Kerst's challenge script

alias maths { 
set %y $calc( $numtok($3-,32) - 2) 
set %d $calc($3-$ [ $+ [ %y ] ] ) 
/echo -a $3-$ [ $+ [ %y ] ] = %do $+, $ [ $+ [ $numtok($1-,32) ] ] - %d = $1 
/echo -a $1 = $calc( $ [ $+ [ $numtok($1-,32) ] ] - %d ) 
}