This question has already been answered:
Is it possible to display values through edit in the code (That is, replace the number 25 with Edit):
for j:=0 to len-1 do baze:=filtr+Dict[Random(25)+1]; That is, what would be the type:
for j:=0 to len-1 do Pass:=Pass+Dict[Random(edit1.text)+1]; // Но тут я не знаю как правильно оформить, **потому как ошибка**.