Script Library: 1238 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Discussion posts for script bin-to-float.r

1
glennmlewis
7-Nov-2006 17:56
bin-to-float.r is my first non-trivial script that I needed myself. 
 (It relies on 'ieee.r', which is also in this library.)

Basically, I use it like so:
d: read/binary %filename.dat
f: bin-to-float d
; Process series of floats...
write/binary float-to-bin f %newfile.dat


Please feel free to comment on it, as I'm not sure if my algorithm is the most efficient way to handle the binary! and series! types.


While I'm here, does anyone know of a function that takes a series 
and a block as inputs, then outputs a new series based on the mapping 
function that is provided in the block?


For example, let's say that my binary floats represent RGB data and 
I need to unscramble the data into the correct order.  Then, I suppose 
the next step is converting that to an image! type.  Hmm... I think 
I still have a fair learning curve ahead of me.
2
sunanda
8-Nov-2006 20:53

I think you are asking for an equivalent of LISP's map function.

There isn't one in the Script Library, but several have been contributed / demonstrated on the Mailing List.

See Mailing List Archive, Map topic. 

3
jeremy
21-Jul 10:56
REBOL

If you are in need of tree removal service check us out at www.frankstontreeremoval.com.au

Contents:

MakeDoc2 by REBOL- 21-Jul-2021
4
arthurgilmor
12-Aug 7:33

How about you quote to us any legit source. Which is the more progressive?

https://writemyessaysonline.com/

5
jack12541
12-Aug 7:45
REBOL

It depends on what you are using and what is causing or where you errors are. sarnia drywall

Contents:

MakeDoc2 by REBOL- 12-Aug-2021
6
marosol
1-Sep 22:54
REBOL

This is great! Thank you for sharing. | Fencing

Contents:

MakeDoc2 by REBOL- 1-Sep-2021
7
breana
19-Nov 5:41
REBOL

Nice post! Thanks for the share. Surveyor

Contents:

MakeDoc2 by REBOL- 19-Nov-2021
8
olive
19-Nov 5:49
REBOL

Glad to check this awesome site. air duct cleaning

Contents:

MakeDoc2 by REBOL- 19-Nov-2021
9
mark214
20-Nov 18:06
REBOL

thanks for this post. Mop

Contents:

MakeDoc2 by REBOL- 20-Nov-2021
10
marosol
27-Nov 1:36
REBOL

Own way of thinking, saying, and doing everything. Drywall Cracks and Holes

Contents:

MakeDoc2 by REBOL- 27-Nov-2021