0 Members and 1 Guest are viewing this topic.
.DELSUB2Fix 5"var "->Str3"ABCDEFGHIJKLMNOPQRSTUVWXYZØ"->Str5"L1L2L3L4L5L6"->Str6" "->Str8sub(LSD)ReturnLbl LSD //This will only ever delete L1. If the randomly selected number is not 0, then nothing will happenCopy(rand^6*2+Str6,Str8,2)DelVar Str8ReturnLbl ABC //This worksCopy(rand^27+Str5,Str3+1,1)DelVar Str3
.DELSUB2Fix 5"var "→Str3"L₁"→Str8sub(LSD)ReturnLbl LSDrand^6→{2+Str8}ʳDelVar Str8ReturnLbl ABCrand^27+'A'→{1+Str3}ʳDelVar Str3Return