Number Or List
toolbar-separator.png This page has been deleted from the main contents of the wiki, and moved to the deleted: namespace as a record of its contents. Rather than adding content to this page, please put it somewhere where it will actually have a use. In addition, please avoid linking to this page.

Routine Summary

Determines whether an input is a number or list.


Ans - the number or list to examine


Ans - 1 if the input is a number, 0 if it is a list

Variables Used

A [,∟A if input is a string]

Calculator Compatibility



Deep Thought


You can replace 465230.61649186 with any obscure and nearly impossible number.

If Ans is a list, it is stored to ∟A. A remains whatever that number is, and A=Ans(1 (assuming that Ans as a list has at least one value) returns false. If Ans is a number, it is stored into A, thus A=Ans(1 (Ans times 1) returns true.

The For( command is used to avoid updating Ans. End should be added to the end if this routine is used inside a larger program.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 License.