translated
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@640 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9c26ed8fbc
commit
615f67f0d3
@ -1,17 +1,17 @@
|
|||||||
// 文字列変数のテスト
|
// Some Test Example
|
||||||
prontera.gat,164,188,1 script 文字列テスト 112,{
|
prontera.gat,164,188,1 script sTrInG2compare 112,{
|
||||||
set @str$, "文字列1";
|
set @str$, "StRiNg1";
|
||||||
mes "文字列変数:" + @str$ ;
|
mes "sTrInG2 isn't equal to " + @str$ ;
|
||||||
mes "確認:" + @str$ + " ...OK?";
|
mes "Our Var is equal to " + @str$ + " ...OK?";
|
||||||
next;
|
next;
|
||||||
mes "比較~eqOK:" + (@str$=="文字列1");
|
mes "Comparision eqOK<4F>F" + (@str$=="StRiNg1");
|
||||||
mes "比較~eqNG:" + (@str$=="文字列");
|
mes "Comparision eqNG<4E>F" + (@str$=="sTrInG2");
|
||||||
mes "比較~neOK:" + (@str$!="00000");
|
mes "Comparision neOK<4F>F" + (@str$!="00000");
|
||||||
mes "比較~neNG:" + (@str$!="文字列1");
|
mes "Comparision neNG<4E>F" + (@str$!="StRiNg1");
|
||||||
mes "比較~gtOK:" + ("aab">"aaa");
|
mes "Comparision gtOK<4F>F" + ("aab">"aaa");
|
||||||
mes "比較~ltNG:" + ("aab"<"aaa");
|
mes "Comparision ltNG<4E>F" + ("aab"<"aaa");
|
||||||
next;
|
next;
|
||||||
input @str2$;
|
input @str2$;
|
||||||
mes "入力データは " + @str2$ + " です。";
|
mes "You've entered '" + @str2$ + "' string.";
|
||||||
close;
|
close;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user