
An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - misc.
Command
RAND [min, max]
Description
Generate a random (unsigned 32-bit) integer.
Return value
Integer: Random generated number.
Example
Refer to the download page for some C/C++ samples on how to invoke this command from your host application.
vedis> RAND
658745451
vedis> RAND 15 50
17
658745451
vedis> RAND 15 50
17

Copyright © Symisc Systems