Function Test (Script version)
root:tmp set from [] to abc
root: Calling foo1(31)
    foo1:tmp set from [] to xyz
    foo1:Calling foo2()
        foo2:tmp set from [abc] to mmm
        foo2:I'm returning 34 (arg + 2)
        foo2:tmp is mmm
    foo1: foo2 returned [34]
    foo1:I'm returning 32 (arg + 1)
    foo1:tmp is xyz
root: foo1 returned [32]
root:tmp is mmm
root: Calling foo1(301)
    foo1:tmp set from [] to xyz
    foo1:Calling foo2()
        foo2:tmp set from [mmm] to mmm
        foo2:I'm returning 304 (arg + 2)
        foo2:tmp is mmm
    foo1: foo2 returned [304]
    foo1:I'm returning 302 (arg + 1)
    foo1:tmp is xyz
root: foo1 returned [302]
root:tmp is mmm

Five plus two is 7
Five minus two is 3
result%calculate: [[sum]=>7,[diff]=>3]
status%calculate: [2]
message%calculate: [how are you]

showme:[in here]



Back home