Subj : Re: "On the Fly" Hex-numb conversion ... ??? To : Klaus Meinhard From : Jasen Betts Date : Thu Mar 07 2002 06:55 am From: Jasen.Betts@p42.f531.n640.z3.cereal.mv.com (Jasen Betts) Subject: Re: "On the Fly" Hex-numb conversion ... ??? Hi Klaus. 04-Mar-02 08:40:00, Klaus Meinhard wrote to Steve KM> From: "Klaus Meinhard" KM> Steve, Gerald, >> When you try to concatenate the values of two (or more) variables, KM> your >> schem would have KM> > >> %a%%b%%c% KM> > >> which is ambiguous - %% is also the representation of a literal %; >> the JP scheme KM> > >> %[a]%[b]%c KM> > >> is unambiguous. KM> Yes. On a purely theoretical basis: since 4DOS doesn't need the KM> second % char, it's occurrence gives rise to some interesting KM> parsing problems KM> Is %a%b equal to VarA and "b" or VarA and VarB? 4Dos has to check KM> the environment somehow, and that may need some (often negligible) KM> time it depends - I ran into that pitfall with my chess batch. where %a is a for loop variable it's VarA-VarB otherwise it's VarA-LetterB. KM> In %a%%b% or %a%%b (which is valid too) Is what comes after VarA a KM> percent char( %%), or VarB? 4DOS has to decide, and may not do so KM> consistently across all versions or even across to 4NT etc same problems with loop varables here. -=> Bye <=- -- |Fidonet: Jasen Betts 3:640/531.42 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .