Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: none? ???

From: pyxos:netcourrier at: 18-Apr-2002 22:56

I want the first element to be printed only if the value if tc is found in the block, therefore if tc = 05 it should print tcgrp01, if 06 prints tcgrp01, if 02 prints tcgrp02. If not found nothing should print. Is it clear enough ? ----Message d'origine----
>De: =22Gregg Irwin=22 <greggirwin=40mindspring.com> >A: <rebol-list=40rebol.com> >Sujet: =5BREBOL=5D Re: none? ??? >Date: Thu, 18 Apr 2002 10:43:42 -0600 > >Hi Richard, > ><<...In order to test if tc is included in the block. If so, it should print >the first element of the sub block. > >Currently, it always prints the first element. Why ? >> > >I haven't had my coffee yet this morning so I'm not clear on exactly what >isn't working for you. I ran things here (manually putting the data in >texte) and I got the following results: > >05-tcgrp01 >05-tcgrp02 >05-tcgrp01 >05-tcgrp02 >05-tcgrp01 >05-tcgrp02 >05-tcgrp01 >05-tcgrp02 >05-tcgrp01 >05-tcgrp02 >05-tcgrp01 >05-tcgrp02 >25-tcgrp01 >25-tcgrp02 >25-tcgrp01 >25-tcgrp02 >25-tcgrp01 >25-tcgrp02 >25-tcgrp01 >25-tcgrp02 >25-tcgrp01 >25-tcgrp02 >06-tcgrp01 >06-tcgrp02 > >If that's not what you're after, could you break it down a little more for >us (e.g. =22The first pass should have tc==2205=22 and the select on tcs/1 should >return =2206=22, which means it exists, so it should print 'tcgrp01)? > >Also, if you haven't already, sprinkle some print statements in there to >watch the values on each pass. That might tell you a lot. > >--Gregg > >-- >To unsubscribe from this list, please send an email to >rebol-request=40rebol.com with =22unsubscribe=22 in the >subject, without the quotes. >
------------------------------------------------- =22Sound Mind, Sound Body=22 Juv=E9nal =22Lire et =EAtre curieux, c'est la m=EAme chose=22 Pascal Quignard =22Qui triomphe de lui-m=EAme poss=E8de la force=22 Lao-Tseu, extrait du Tao Te King =22Dans la course =E0 la qualit=E9, il n'y a pas de ligne d'arriv=E9e=22 David Kearns Allez voir mon site : http://www.desala.org ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T=E9l=E9phone/Fax : 08 92 69 00 21 (0,34 =80 TTC/min) Minitel: 3615 NETCOURRIER (0,15 =80 TTC/min)