Subj : Re: Synchronet can maybe. To : Digital Man From : Tracker1 Date : Sat Jul 30 2005 06:11 pm Digital Man wrote: >> Like 1<<1 vs 1>>1 ... iirc byte order isn't part of the js spec, or wasn't >> earlier on... > > Those operators are not endian-specific. The only time endianness really comes > into play is when reading/writing an integer to/from disk or a communications > pipe (e.g. TCP socket). > > Since core JS doesn't include any methods for reading/writing to disk or > sockets, I don't see how endianness could be an issue. okay, just tested this... javascript:alert(1<<1); Looks like it works correctly on newer browsers, but will swear that a few years ago, it explicitly did *not* work right on at least one mac browser, don't recall if it was ie or nn... but do recall having endian issues in JS on a mac before. *shrug* -- Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) --- þ Synchronet þ theroughnecks.net - you know you want it .