Subj : Re: "On the Fly" Hex-numb conversion ... ??? To : Klaus Meinhard From : Jasen Betts Date : Wed Mar 06 2002 10:55 pm 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 <=- --- * Origin: "...all the modern inconveniences..." -- Mark Twain (3:640/531.42) .