Re: retrograding bits of 2.1 to 2.0 'A WORKAROUND'

new topic     » goto parent     » topic index » view thread      » older message » newer message

Norm Goundry wrote:

>There is no 'REVERSE' command in EU 2.0.  I wish to know the way of
>Shifting (i.e., reversing) the coding of...
>
>x = reverse(ints_to_bits(i,8))
>
>into something I can use in EU 2.0

Look in misc.e from EU 2.1 -- the reverse() function is right there, and
it'll work just fine under EU 2.0. In fact, I believe misc.e from EU 2.1
will run under EU 2.0 without any problems at all, so just replace the 2.0
misc.e with the 2.1 version and life should be just dandy.

(I know Rob advises against doing this, but -- in this one specific instance
 -- it shouldn't cause any problems.)

>(I would have to spend far too much time
>converting all of my program code over to 2.1 at this juncture of time, but
>I will start to do that as soon as I have something to run in the
meantime).

?? AFAIK, EU 2.1 is perfectly backwards-compatible with EU 2.0 code, so why
would you have to spend *any* time converting code? Unless, of course,
you're referring to global naming conflicts, which could cause quite a few
problems. Otherwise, I don't see why you'd need to convert any code -- I've
still got some programs written in EU 1.4 that work without any problems
under EU 2.1.


Be seeing you,
   Gabriel Boehme

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu