Previous Topic: CommentNext Topic: Data Definition Conventions


Converting Between Numeric and Alphanumeric

When you use a numeric field in an alphabetic context, it is converted to a display form. See $STRING, $EDIT, LIST, MOVE, and SET.

When you use an alphanumeric field in a numeric context, it is converted to numeric form if possible before it is evaluated. See the $NUMBER function.

If an alphanumeric value is converted to a numeric value, a compile‑time warning message is issued and, if the source does not contain a valid numeric value, a runtime error occurs.