« To create multi stories | Main | Chapter number »

December 11, 2005

Parts of scenario

Parts of scenario except entry point of story are described using "scene" instruction.

example

scene invited_to_a_party
I was invited to a party when I was going back home.
We all entered a tavern just near the station.
end
scene drink_at_tavern
Inside the tavern was decorated like folk handicraft style.
Boys are seems to be often here to have a drink.
end

Name of scene must be given to distinguish each scene.

scenes are called from another scenes statement or title statement.

sample4.7th

title go_to_picnic
I went to picnic with my friends.
Cherry blossoms were very beautiful.
Many boys had joined from another university.
{invited_to_a_party}
{drink_at_tavern}
end

Control of program is return to caller like subroutine in c language.
But "return" statement is not defined at 7thlanguage.
So control will return only when it comes the end of scene statements.

Null statement cannot be defined.

scene invited_to_a_party
I was invited to a party when I was going back home.

We all entered a tavern just near the station.
end

this statements are not allowed.

and also null statement like

scene invited_to_a_party
end

is not allowed

|

« To create multi stories | Main | Chapter number »