your second "if" should be an "else if" At 06:08 PM 12/04/2001 -0000, you wrote: >The following script updates a field called mr_johnson_count with the >sentance below and the variable count! If the variable count = 0 it gives >the correct sentance, if it is 2 or more it gives the correct sentance >however it doesnt seem to be picking up the if statement that should trigger >when count = 1. Can anyone shed any light as to why not? > >Thanks in advance > >Steve > > if count=1 then put "Mr Johnson says there is" && count &" ball in the >box" into field "mr_johnson_count" > if count=0 then put "Mr Johnson says there are no balls in the box" into >field "mr_johnson_count" > else > put "Mr Johnson says there are" && count &" balls in the box" into field >"mr_johnson_count" > end if > updatestage > > > >[To remove yourself from this list, or to change to digest mode, go to >http://www.penworks.com/lingo-l.cgi To post messages to the list, >email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) >Lingo-L is for learning and helping with programming Lingo. Thanks!] > > -- Dale Withroder PH: 1-888-233-8469 [EMAIL PROTECTED] FAX: 1-800-669-1132 multimedia underling http://www.pro-mentoring.com Professional Mentoring ICQ: 13411058 -- I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals. �Sir Winston Churchill
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
