INPUTINDEX

Push the index of the input being evaluated to the stack as a Script Number. Input: nothing Output: number