easy way is to mask results
if you mask with 3F you will get a max of 63 combination. may few lines of if then else can do the rest of the job....
RANDOM MyRandomVar
MyRandomVar=MyRandomVar & $3F
if MyRandomVar>39 then
MyRandomVar=MyrandomVar-39
endif
that's it!!!




Bookmarks