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

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

If all it is that you want to do is reverse the order of the sequence that is
returned, simply use this:

sequence seq, buffer
seq = {1,2,3}
buffer = {}
for ix = 1 to length(seq) do
    buffer = prepend(b,seq[ix])
end for



Norm Goundry wrote:

> Help!
>
> I know this will sound really stupid.  And I actually hope it is a stupid
> as it sounds, so that the answer is therefore simple and straightforward.
>
> 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 (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).
>
> Or do I have to go into 2.1 and hack out the REVERSE code so that I can run
> it in 2.0?
>
> Confused and Clueless (too much coding; not enough sleep)
>
> Thanks,
> Norm


Greg Phillips
--
"DOS addresses only 1 Megabyte of RAM because we cannot imagine any applications
needing more." - Microsoft, 1980, on the development of DOS

"Windows NT addresses 2 Gigabytes of RAM which is more than any application will
ever need" - Microsoft, 1992, on the development of Windows NT

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

Search



Quick Links

User menu

Not signed in.

Misc Menu