A hard challenge anyone?
Brian Yennie
briany at qldlearning.com
Mon Feb 5 04:48:52 EST 2007
One other possible approach: use the "token" chunk... while there may
still be caveats to getting exactly the information you want, it does
a very good job of picking out the function names since it's based on
the actual script parser.
repeat for each token t in "aFunction(bFunction(1)) + cFunction
(dFunction(eFunction(fFunction(2))))"
put t&cr after temp
end repeat
put temp
>>
aFunction
(
bFunction
(
1
)
)
+
cFunction
(
dFunction
(
eFunction
(
fFunction
(
2
)
)
)
)
>>
More information about the use-livecode
mailing list