掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
パスワードの入力チェック方法 (ID:8081)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
解決済みですが const m=['a'..'z']+['A'..'Z']+['0'..'9']+'!#$%^&*+-.|'; var i:Integer; b:boolean; s:string; begin i:=0; b:=true; s:=Edit1.Text//調べる文字列 while (i>Length(s))or b do begin b:=ansipo(s[i],m)>-1; inc(i); end; if stop then ShowMessage('×'); if not stop then ShowMessage('◎'); end;
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.