« Condition formula and parentheses | Main | Expression of condition »

December 18, 2005

scene and condition

Scene is called with condition formula

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.
{meet_with_friend}
{<my frien==Reiko>I_went_condominium<my friend==Yosie>I_went_apartment;I_went_back_my_apartment}
end
selece name_of_friend
mest_with_Reiko
mest_with_Yosie
end
scene mest_with_Reiko
[my friend=Reiko]
Her name was [my friend] and dressed in in colorful one piece
end
scene mest_with_Yosie
[my friend=Yosie]
Her name was [my friend] and wearing plane blue suit.
end
scene I_went_condominium
I went her condominium with her.
Her room was very timid and colorful funiture is decorated.
end
scene I_went_apartment
I went her apartmen with her.
She prepared me a cup of tea.
end
scene I_went_back_my_apartment
I went back my apartment and have a tea.
end

Above source code

{<my frien==Reiko>I_went_condominium<my friend==Yosie>I_went_apartment;I_went_back_my_apartment}

is a source code using condition formula.
Condision fomula of this source code is

<my frien==Reiko>
<my friend==Yosie>

In this condisioned scene calling statement, only on scene is called.
7threader searches conditions from top to bottom of text line.
When it found condition of True value it calls scene next to condition.
Then process of this line is over, and another conditions following first true condition are not evaluated or executed.

|

« Condition formula and parentheses | Main | Expression of condition »