maintaining state between events
• internal control easy!
• external control
data in different modules
data in interface
… and no ‘program counter’
print “what is your name”
name = read()
print “hello ”+name+“ how old are you”
age = readInt();
print “you will be ”+(age+1)+“ next year”
Previous slide
Next slide
Back to first slide
View graphic version