4 The ';' was from when I had multiple statements. I don't need it now.
source | link

STATA (1716)

egen b=rank(c),f;f

Result is in b.

Assumes c is a variable in the dataset containing the input.

STATA (17)

egen b=rank(c),f;

Result is in b.

STATA (16)

egen b=rank(c),f

Result is in b.

Assumes c is a variable in the dataset containing the input.

3 added 11 characters in body
source | link

STATA (2117)

egen b=rank(c),f;l b;f;

Result is in b.

STATA (21)

egen b=rank(c),f;l b;

STATA (17)

egen b=rank(c),f;

Result is in b.

2 added 5 characters in body
source | link

STATA (21)

STATA (21)

egen b=rank(c),f;l b;

egen b=rank(c),f;l b;

STATA (21)

egen b=rank(c),f;l b;

STATA (21)

egen b=rank(c),f;l b;
1
source | link