How to count all the permutations of a string in Microsoft Small Basic?
The brute-force exploring of all permutations is usually done by recursion in languages such as C and C++. However, Microsoft Small Basic doesn't support the arguments for functions, so it's impossible to implement the recursive algorithm the same way.
Perhaps it's doable in Small Basic using the Stack? How exactly?