11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

function uses a naked reference to return the full global reference for the next node following^client(2). For example, the returned value might be ^client(2,1) or ^client(3).$QUERY and $ZUTIL(68,7) and $ZUTIL(69,7)The $ZUTIL(68,7) and $ZUTIL(69,7) functions allow you to control whether $QUERYreturns global references in Extended Global <strong>Reference</strong> mode.$ZUTIL(68,7) lets you set the Extended Global <strong>Reference</strong> mode switch for a particularprocess and $ZUTIL(69,7) lets you set the Extended Global <strong>Reference</strong> mode switch for theentire system.For further details on extended global references, see the Global Structure chapter in Using<strong>Caché</strong> Multi-Dimensional Storage.See Also• $DATA function• $ORDER function• $ZUTIL(68,7) Extended <strong>Reference</strong> Mode Process Switch function• $ZUTIL(69,7) Extended <strong>Reference</strong> Mode System Default function$RANDOM$RANDOMReturns a pseudo-random integer value in the specified range.$RANDOM(range)$R(range)ParameterrangeA nonzero positive integer used to calculate the random number.Description$RANDOM returns a pseudo-random integer value between 0 and range-1 (inclusive).Returned numbers are uniformly distributed across the specified range.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 293

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!