Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: long unsigned

From: maarten:koopmans:surfnet:nl at: 18-Jun-2002 14:06

It turned out the protocol I am doing is implented in strings, so no problems anymore... --maarten Anton wrote:
> I think you hit the bit limit of a > signed integer in rebol? Rebol has no > unsigned integer as far as I remember. > > Here's a few suggestions: > 1) Send formatted as long signed, then get rebol > to convert to decimal! on the server. > > 2) Send formatted as float or double. > > What is the "strange" value server receives? > > Anton. > >>Hi I am *trying* to send a string formatted like this: >> >>"%lu %lu %ld \n" in C-style printf format over a tcp connection. >> >>However.... the long unsigneds give always the same (strange) value on >>the server (which is a binary for me). >> >>How can I get the unsigneds correctly over the wire? >> >>--Maarten >> >
-- Maarten Koopmans Innovation manager tel: +31 30 2 305 324 Surfnet BV fax: +31 30 2 305 329 P.O.Box 19035 email: [maarten--koopmans--surfnet--nl] NL-3501 DA Utrecht http://www.surfnet.nl The netherlands