Read out the whole actionblock of a function

forum.cdk (1998-2005) & forum.td.cdk (2005-2010)
Markus S

Read out the whole actionblock of a function

Post by Markus S » 04 Sep 2002, 16:52

 Posted by:  Markus S 

Can anybody help me to read a whole actionblock?
I tried to do this by Loop with aActionBlock.Next() and taking the text with
aActionBlock.Text()
My problem is that I loose all indent lines from the actionblock. So I just
get all the IFs and ELSEs but not the content of them.

Do have an idea how to write a recursive function which goes through each
line and write the text into a string variable?

Thanks

Markus

Ivar M. Yrke

Re: Read out the whole actionblock of a function

Post by Ivar M. Yrke » 06 Sep 2002, 10:13

 Posted by:  Ivar M. Yrke 

aActionBlock.Next() finds the next sibling (same level). Yoy must use
aActionBlock.Child() to go into child actions.

Return to “td.cdk”

Who is online

Users browsing this forum: [Ccbot] and 0 guests