Blitz (77/144)

From:amorel
Date:19 May 2001 at 03:08:55
Subject:Re: BlitzII - Question of logic?

On 16-May-01, David McMinn wrote:
C=Hi amorel

C=> That reminds me. Is there an easy eway to say in Blitz if some var is in
C=> between 20 and 99567 or something. Pascal has a nice way for that: "if var
C=> in[20..99567] then ...."

C=If var>=20 AND var<=99567 Then ...

Yeah, I asked the question a bit wrong, I knew that solution(thnx btw :)
What if i wanna do this in Blitz: "if var in[1,2,4,6,111,800,5678,222222] then
...."

To avoid tons of nested if`s or a big case statement.

Rgeards



-*AMOREL*- musician/programmer \ \ Amiga 1200T/PPC/040/32/6g more shit
http://www.xs4all.nl/~amorel \ \ Good old C=64 and an attitude!
Running QNX rtp, linux, AmigaOS \ \ / /Half a decent studio
Music: www.mp3.com/vopak \ \/ /Contact me for bookings,
www.xs4all.nl/~amorel/amusic.html \/\/productions,demos,programs...

-*R u an AOL l33t? ----------> Amoralplayer1.5, a no fuss audioplayer*-

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie