Numeric (str)

Variables who’s name is a positive integer, eg 0, 1, 2, 3 and above

Description

Variables named 0 and above are the equivalent index value of @ARGV.

These are reserved variables so they cannot be changed.

Examples

» function example { out $0 $2 }
» example 1 2 3
example 2

Detail

0 (str)

This returns the name of the executable (like $ARGS[0])

1, 2, 3… (str)

This returns parameter n (like $ARGS[n]). If there is no parameter n then the variable will not be set thus the upper limit variable is determined by how many parameters are set. For example if you have 19 parameters passed then variables $1 through to $19 (inclusive) will all be set.

See Also


This document was generated from gen/variables/numeric_doc.yaml.

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Fri Oct 24 08:59:31 UTC 2025 against commit e59ab49e59ab49e1628d8546d2ad8ce5eb1150445f6a940.

Current version is 7.1.4143 (unknown) which has been verified against tests cases.