Skip to main content

RANDOM (int)

Laurence MorganLess than 1 minuteSpecial VariablesDefined by POSIXReserved Variables

RANDOM (int)

Return a random 32-bit integer (historical)

Description

$RANDOM returns a number between 0 and 32767 (inclusive).

$RANDOM was included for POSIX support however the idiomatic way to generate random tokens in Murex is via the rand builtin.

This is a reserved variable so it cannot be changed.

See Also


This document was generated from gen/variables/RANDOM_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan