« Combination of substitution and parentheses | Main | Condition formula and parentheses »

December 17, 2005

Condition formula

Condition formula can be used using variable

sample35.7th

title meet_friend_at_celemony
When entrance ceremony was finished I was called by a girl.
Her[my friend=Reiko] name was [my friend] who was next at entrance examination.
{Dress_of_my_friend}
end
scene Dress_of_my_friend
She <my friend==Reiko>dressed in colorful one piece<my friend==Sanae>dressed in sober blue suit; and looked merely.
end
---------------------- 7threader English Version -----------------------

When entrance ceremony was finished I was called by a girl.
Her name was Reiko who was next at entrance examination.
She dressed in colorful one piece and looked merely.

-------- 7threader English Version Copy Right Yuki Nanotabi 2004/2/28 Ver 1.00 ---------

condition formula
<my friend==Reiko>
is true when value of "my friend" is Reiko.
If true is judged following text next to this formula is displayed till next condition formula

Another decision
<my friend==Sanae>
is true when value of "my friend" is Sanae.
And if false then following text next to this formula does not displayed.

;
means a cancel of decision.
and following text next to ; are displayed

Decision is processed form top to bottom of text.
When condition formula had found, then value of condition was decided and if true display text following condition formula.
When it reached next formula, value of condition was decided also.
When it reached ";" character, it mean end of decision and following text are displayed normally.

|

« Combination of substitution and parentheses | Main | Condition formula and parentheses »