Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!mcvax!steven From: steven@mcvax.UUCP (Steven Pemberton) Newsgroups: net.lang Subject: Re: IF KICK-BACK GREATER THAN... Message-ID: <6228@mcvax.UUCP> Date: Sat, 8-Dec-84 20:58:39 EST Article-I.D.: mcvax.6228 Posted: Sat Dec 8 20:58:39 1984 Date-Received: Mon, 10-Dec-84 03:09:25 EST References: <8900017@uiucdcsb.UUCP> <223@ic-cs.UUCP> Reply-To: steven@mcvax.UUCP (Steven Pemberton) Organization: CWI, Amsterdam Lines: 16 In article <223@ic-cs.UUCP> ian@ic-cs.UUCP (Ian W. Moor) writes: > In Pascal you can write IF KICK-BACK GREATER THAN 10 AND LESS THAN 100 THEN > as IF Kick_back IN [10..100] THEN > > or how about IF Kick_back IN [10,20,30,40,50] THEN > if you only want multiples of 10 ? In B (the new one, not the predecessor of C) you can also write IF x in {-1; 10; 20; 30.5; 100*pi; 2**81; 100**1000-1}: etc. As already pointed out earlier, B allows you to say IF 10