« Substitution and display | Main | Condition formula »

December 16, 2005

Combination of substitution and parentheses

Substitution and parentheses ( | ) can be used together.

sample33.7th

title meet_friend_at_celemony
When entrance ceremony was finished I was called by a girl.
Her[my friend=Reiko|Sanae] name was [my friend] who was next at entrance examination.|She was[my friend=Yosie|Midori] senior who lives next door to my apartment.
[my friend] had dressed in colorful one piece.
end

In this case parentheses (|) outside of [] is processed at first.

so following statements are generated each time.

When entrance ceremony was finished I was called by a girl.
Her[my friend=Reiko|Sanae] name was [my friend] who was next at entrance examination.
[my friend] had dressed in colorful one piece.

When entrance ceremony was finished I was called by a girl.
She was[my friend=Yosie|Midori] senior who lives next door to my apartment.
[my friend] had dressed in colorful one piece.

and then substitution is processed next time as follows

---------------------- 7threader English Version -----------------------

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

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

When entrance ceremony was finished I was called by a girl.
She was senior who lives next door to my apartment.
Midori had dressed in colorful one piece.

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

|

« Substitution and display | Main | Condition formula »