Difference between revisions of "FALSE/ja"
< FALSE
Jump to navigation
Jump to search
Asuka Neely (talk | contribs) (New page: {{LSL Constant/ja |name=FALSE |type=integer |value=0 |desc |examples |constants={{LSL ConstRow/ja|TRUE}} |functions= |articles={{LSL DefineRow||boolean|}} |events= |cat1 |ca...) |
Mako Nozaki (talk | contribs) m |
||
Line 4: | Line 4: | ||
|value=0 | |value=0 | ||
|desc | |desc | ||
|examples | |examples=<lsl>integer q; | ||
default | |||
{ | |||
state_entry() | |||
{ | |||
q = TRUE; | |||
if(q) | |||
{ | |||
llSay(0, "TRUE"); | |||
q = FALSE; | |||
if(!q) | |||
{ | |||
llSay(0, "FALSE"); | |||
q = TRUE; | |||
if(!q) | |||
{ | |||
llSay(0, "Won't say this"); | |||
} | |||
else | |||
{ | |||
llSay(0, "TRUE"); | |||
q = FALSE; | |||
if(q) | |||
{ | |||
llSay(0, "Won't say this"); | |||
} | |||
else | |||
{ | |||
llSay(0, "FALSE"); | |||
} | |||
} | |||
} | |||
else | |||
{ | |||
llSay(0, "Won't say this"); | |||
} | |||
} | |||
else | |||
{ | |||
llSay(0, "Won't say this"); | |||
} | |||
} | |||
}</lsl> | |||
|constants={{LSL ConstRow/ja|TRUE}} | |constants={{LSL ConstRow/ja|TRUE}} | ||
|functions= | |functions= | ||
|articles={{LSL DefineRow||[[ | |articles={{LSL DefineRow||[[boolean]]|}} | ||
|events= | |events= | ||
|cat1 | |cat1 |
Revision as of 20:41, 22 May 2010
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
サンプル
<lsl>integer q;
default {
state_entry() { q = TRUE; if(q) { llSay(0, "TRUE"); q = FALSE; if(!q) { llSay(0, "FALSE"); q = TRUE; if(!q) { llSay(0, "Won't say this"); } else { llSay(0, "TRUE"); q = FALSE; if(q) { llSay(0, "Won't say this"); } else { llSay(0, "FALSE"); } } } else { llSay(0, "Won't say this"); } } else { llSay(0, "Won't say this"); } }
}</lsl>