Ticket #12792

関係演算子で文字列の比較
Date d'ouverture: 2008-06-17 10:01 Dernière mise à jour: 2009-04-11 03:39

Rapporteur:
(Anonyme)
Propriétaire:
État:
Ouvert [Owner assigned]
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Accepted
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

たびたびの機能追加要望で恐縮です。

マクロコマンド ifの書式は、比較する変数が<int>のみです
が、<str>形式もサポートすることは可能でしょうか。

今はstrcompareで比較していますが、若干の不便さを感じて
おります。ご検討のほど、よろしくお願いいたします。

Ticket History (3/4 Histories)

2008-06-18 11:28 Updated by: (del#1144)
  • Summary Updated
  • Résolution Update from Aucun to Later
Commentaire
Logged In: YES
user_id=1144

if は 0 かどうかを判定しているだけですので、
関係演算子の =,<>,==,!= の動作の問題だと思います。

マクロ言語の構文解析は私のわかる範囲ではないので、
実装が難しいかどうかはわかりません。
ただ、数値と文字列が比較されたらどうなってしまうのかなど、
面倒なことがありそうな気がします。
2008-06-25 03:43 Updated by: doda
  • Résolution Update from Later to Accepted
2008-06-25 03:43 Updated by: doda
  • Propriétaire Update from (Aucun) to doda
  • (Catégorie change on Tracker)
Commentaire
Logged In: YES
user_id=14322

対応が可能か、検討します。
2009-04-11 03:39 Updated by: doda
  • Composant Update from (Aucun) to Tera Term Macro

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion