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

[REBOL] Re: long unsigned

From: joel:neely:fedex at: 18-Jun-2002 6:01

Hi, Maarten, Maarten Koopmans wrote:
> 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? >
What is the strange value? Are you sure you're in range for REBOL integers (-2147483648 <= value <= 2147483647)? -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]