He is not right either... 15 is 0xF. 16 is 0x10.
This is the string:
A$ = "0123456789ABCDEF"
And calling the function will give you:
MID$ (A$,1,1) => "0"
...
MID$ (A$,15,1) => "E"
MID$ (A$,16,1) => "F"MID$ (
INT(RND(1) * 15), in contrast will produce a random whole number from 0 to 14. Hence the popular use of, for example, INT(RND(1) * 6)+1 in any given situation where a random number between 1 and 6 is required.
Edit: seems I was slower than all the other replies...