« Neglect new line | Main | Character variable »

December 13, 2005

Select statement

To select a scene from given scenes use select statement.
Select statement is described as follows

scene invited_to_party
I was invited to a party.
end
scene invited_to_drink
I was invited to have a drink
end
select case_of_intivitaion
invited_to_partiy
invited_to_drink
end
title I_had_drunk
{case_of_invitation}
I had drunk too much and could not walk alone.
end

"case_of_invitation" is a name of select statement.
"invited_to_party" and "invited_to_drink" are name of scene that are to be selected.
Method To call select statment is same as to call scene statment as follows.

{case_of_invitation}

and control is return to caller as subroutine.

7threader generate two cases as follows

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

I was invited to a party.
I had drunk too much and could not walk alone.

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

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

I was invited to have a drink
I had drunk too much and could not walk alone.

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

|

« Neglect new line | Main | Character variable »