https://learninghub.kx.com/forums/topic/create-random-symbol-with-length-8
is there any restriction when creating random symbol longer than 8 char? it seems ?`9 returns error but shorter symbol fine (see screenshot)...
Thanks.
https://learninghub.kx.com/forums/topic/create-random-symbol-with-length-8
is there any restriction when creating random symbol longer than 8 char? it seems ?`9 returns error but shorter symbol fine (see screenshot)...
Thanks.
8 is a documented limit
https://code.kx.com/q/ref/deal/#generate
symbols, each of n chars (n≤8)
To create 3 random symbols of length 20:
q){`$y cut (x*y)?16#.Q.a}[3;20]
`hgpfbbonnjlpppnpjago`mebadmhpkcjgoheikpmh`pbkbabaofjhmacenfabc
I see, thanks!