Article View: bit.listserv.authorware
Article #253Re: if-then
From: Scott
Date: Tue, 19 Jan 1999 00:00
Date: Tue, 19 Jan 1999 00:00
60 lines
1620 bytes
1620 bytes
There is no need for the else statement with what you are trying to do here. So try this: if n:=1 then x:=56 y:=370 if n:=2 then x:=56 y:=420 if n:=3 then x:=56 y:=460 if n:=4 then x:=56 y:=515 -------------------------------------------------------------------- Scott Risner Principal The Human Element, Inc. srisner@thehumanelement.com http://www.thehumanelement.com http://www.scott.risner.com V. 800.351.9204 V. 513.351.9204 F. 513.351.2300 -------------------------------------------------------------------- Flower wrote: > Dear all > > i have a question about using if - then in authorware: > i have type the following command, but it can only run the first time .. > > i don't know why , besides, can i use "Select Case" (VB command) or > something like that kind of command in authorware > here is my if-then: > n:=n+1 > if n:=1 then > x:=56 > y:=370 > else if n:=2 then > x:=56 > y:=420 > else if n:=3 then > x:=56 > y:=460 > else if n:=4 then > x:=56 > y:=515 > end if > > thanks > lutgardis > 15/1/99
Technical Details
Message-ID:
<36A48DF9.E40D0AC0@risner.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<369E3633.50E34785@netvigator.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f49cb,ed9bd581b0a9c8b9 X-Google-Attributes: gidf49cb,public From: Scott <scott@risner.com> Subject: Re: if-then Date: 1999/01/19 Message-ID: <36A48DF9.E40D0AC0@risner.com> X-Deja-AN: 434406065 Content-Transfer-Encoding: 7bit References: <369E3633.50E34785@netvigator.com> Content-Type: text/plain; charset=us-ascii X-Trace: 19 Jan 1999 09:01:45 -0500, 209.50.116.161 Organization: OneNet Communications News Hub MIME-Version: 1.0 Newsgroups: bit.listserv.authorware