Giovanni Rizzardi wrote: > I'm trying to update an old script (stegano.scm) that uses the functions > bit-or and bit-and. Both these function should be > ported from SIOD to TinyScheme but the interpreter raises an exception > complaining about an "unbound variable". Those two functions are unique to SIOD. TinyScheme tends to follow the R4RS and R5RS Scheme standards which do not currently define bit wise operations. The bitwise operation could be written in standard Scheme but they would be rather slow. Bit operations were proposed in SRFI-33 (http://srfi.schemers.org/srfi-33/) but that is currently in a withdrawn state awaiting revival. You could check to see if they have a reference implementation which you could use. -- Cheers! Kevin. http://www.ve3syb.ca/ |"What are we going to do today, Borg?" Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus: | Try to assimilate the world!" #include <disclaimer/favourite> | -Pinkutus & the Borg _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer