For i=0 to len(pass$)-1 Ch$=inkey$() if Ch$!="" then pass$=pass$+Ch$ Ch$="" print "*"; endif Next 例えです。