recursive alias not triggers identifier warning - 09/08/20 01:48 AM
Is it a "by design" or a "bug" that an alias calling itself as an identifier doesn't trigger the identifier warning? I found this closed thread related to the topic, but it dealt with calling its own name as a /command but didn't say the expected result when called as an $identifier.
https://forums.mirc.com/ubbthreads.php/topics/246559/error-recursive-call
https:/
Code
alias test_recursive { if ($1 == recursive) return $calc($2 + 1) var %x 0 noop $findfile($mircdir,*.ini,0,var -s %x $test_recursive(recursive,%x) ) echo -a called %x times recursively from within findfile, but this fails without triggering identifier warning: var -s %x $test_recursive(recursive,%x) }