quote:
Originally posted by ender
I tried nesting the <topic></topic> tag inside a <yes></yes> tag ... but it didn't work ..
But thats more or less what I want to be able to do. Is that what you meant One?
I.e. I did "Have you seen any good movies lately? <yes>What movie?<topic>What was it about?</topic></yes><no>Why not?</no>
Ender,
Look in the gretta plug ins , Snowman and i discussed things.
I know VB dot net, the scripts or plug ins could probably handle it since they are not loops they are an if statement that occurs after an if statement but before 'end if'
I have yet to do a plug in myself, Snowman also put the guidelines and some resources for plug ins.
Draw out a flow chart in Visio or just a piece of paper, 'Diamond shape' is the entry or decision that goes to rectangles 2 of them, then the rectangles could lead to Diamonds again.
IF..THEN..ELSE should be the progression I do believe
Theoretically you could place infinite IF's as long at the end their is an 'end if' for every if
end sub
I found it..
Snowman,
can you adapt stuff like this to scripts?
Private sub btncheckqual_click (Byval sender as system.object,_ 'Determine whether the applicant qualifies
' for special loan.
if val (txtsalary.text) >30000 then
If val (txtyearsonjob.text) >2 then
lblmessage.text = "The applicant qualifies."
Else
lblmessage.text = "the applicant does not qualify."
end if
else
if val (textyearsonjob.text) >5 then
lblmessage.text = "the applicant qualifies."
else
lblmessage.text = "the applicant does not qualify"
end if
end if
end sub
I cant show the indent of the code so you need to imagine.

Edited by - One on 04/04/2009 09:26:59