If then and loops
Peter Quain
pquain at une.edu.au
Thu Oct 20 06:33:54 UTC 2011
In E-basic help look for "And (operator)" ... links to other
operators at bottom of the page.
At 04:52 PM 20/10/2011, you wrote:
>You know in C you can just
>if (condition1 && condition2)
>
>
>On Oct 19, 11:47 pm, Nick G <nick.gaspe... at gmail.com> wrote:
> > The E-basic help doesn't say whether an if-then statement can have
> > multiple conditions. Seems limiting to not have that sort of
> > functionality.
> >
> > -Nick
> >
> > On Oct 19, 11:15 pm, Peter Quain <pqu... at une.edu.au> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > try searching e-basic help for "If...Then...Else (statement)". Note
> > > the conditions under which you need to close the conditional
> with "End If"
> >
> > > At 04:05 PM 20/10/2011, you wrote:
> >
> > > >I'm having trouble with the below code. E-Prime seems to want a
> > > >'then' statement immediately following the 'if' statement:
> >
> > > >if present.RESP = "z" and strHit2 = "aHi" or strHit2 = "aLo" strHit2 =
> > > >"aMed" then
> > > > Confidence.RESP = strHit2
> >
> > > >If one response on the present slide is selected, I just want E-Prime
> > > >to allow one of the three responses in the string hits. How should
> > > >this code look?
> >
> > > >--
> > > >You received this message because you are subscribed to the Google
> > > >Groups "E-Prime" group.
> > > >To post to this group, send email to e-prime at googlegroups.com.
> > > >To unsubscribe from this group, send email to
> > > >e-prime+unsubscribe at googlegroups.com.
> > > >For more options, visit this group at
> > > >http://groups.google.com/group/e-prime?hl=en.
>
>--
>You received this message because you are subscribed to the Google
>Groups "E-Prime" group.
>To post to this group, send email to e-prime at googlegroups.com.
>To unsubscribe from this group, send email to
>e-prime+unsubscribe at googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/e-prime?hl=en.
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list