Skip to main content

RANDOM (int)

Laurence MorganSeptember 17, 2024Less 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: 9/18/2024, 6:54:58 AM
Contributors: Laurence Morgan