Code: Select all
verb "x2"
* DoX2
verb "x3"
* DoX3
verb "x2"
* DoX22
verb "x3"
* DoX32
verb "x3"
* DoX33
verb "x4"
* DoX4
outine DoX2
{
"For X2, the first routine was used."
return true
}
routine DoX22
{
"For X2, the second routine was used."
return true
}
routine DoX3
{
"For X3, the first routine was used."
return true
}
routine DoX32
{
"For X3, the second routine was used."
return true
}
routine DoX33
{
"For X3, the third routine was used."
return true
}
routine DoX4
{
"For X4, the first routine was used."
return true
}
- Which routine does verb X2 call?
- Does X3 compile without error?
- If so, which routine does verb X3 call?
- What is the result if routine DoX4 is changed to replace DoX4