Hello to all, do you have a idea of wich command to use to have the same result...

In stata 15 gen id= int(runiform(1,499999)) give me some result

In stata 13
Code:
. gen id= int(runiform(1,499999))
invalid syntax
r(198);
Thanks