(16 Apr 11, 12:03AM)Yarukinasu Wrote: V-Man... I'm not sure if this is any more efficient than yours, but...
[SELECT ALL] Code:nthroot = [ result (powf 2 (divf (log2 $arg2) $arg1)) ]
Could it be that you're already doing this? I can't tell.
:/ Well, I'm trying to get "nthroot" so that I can make a reliable "powf" script. Using your method, they'd loop forever and you'd have to pull the plug on your computer just to get it to stop. XD
[SELECT ALL] Code:
powf = (stuff using nthroot)
nthroot = (stuff using powf)
To phrase it differently...
That's great! So efficient! Can you think of an efficient script for "powf"?
@Gibstick: The engine doesn't treat the args like aliases per se... You can nest simultaneous scripts that all use $arg1, for example, and one doesn't necessarily affect the content of another script's $arg1. Usually. Muahahah.
Also, cmdbuf is much like this.
To really get around having to use an alias, I'd use (keybind) on an open key... If I can find one. ;-)