You want me to do everything? ;)
> Ok now where is toString()? :) > > ----- Original Message ----- > From: "Michael Dinowitz" <[EMAIL PROTECTED]> > To: "CF-Community" <[EMAIL PROTECTED]> > Sent: Friday, May 24, 2002 4:00 PM > Subject: RE: BINARY > > > > Define fun. This is fun to me:) > > <CFSCRIPT> > > function tobin(string) > > { > > var bin=""; > > while(len(string)) > > { > > item=FormatBaseN(Asc(left(string, 1)), 2); > > bin=bin&RepeatString(0, 8-len(item))&item; > > string=RemoveChars(string, 1, 1); > > } > > return bin; > > } > > </CFSCRIPT> > > > > At 03:45 PM 5/24/02, you wrote: > > >well it was more fun our way... > > > > > >Eric > > > > > > > > >From: [EMAIL PROTECTED] (Michael Dinowitz) > > >Reply-To: [EMAIL PROTECTED] > > >To: CF-Community <[EMAIL PROTECTED]> > > >Subject: RE: BINARY > > >Date: Fri, 24 May 2002 15:25:46 -0400 > > > > > >Its all in the way you think. For most, this was an exercise in using a > cool > > >site. For others, it was an example of something in PHP to be done in CF. > > >I'm an 'other'. :) > > > > > >At 03:17 PM 5/24/02, you wrote: > > > > > > >>01001001001000000111011101100001011100110010000001100001001000000110110001 > 1010010111010001110100011011000110010100100000011001000110100101110011011000 > 0101110000011100000110111101101001011011100111010001100101011001000010000001 > 1101110110100001100101011011100010000001001001001000000110001101100001011011 > 0101100101001000000110000101100011011100100110111101110011011100110010000001 > 1101000110100001100101001000000110110001101001011011100110101100100000011101 > 0001101111001000000111010001101000011001010010000001100101011011100110001101 > 1011110110010001100101011100100010111101100100011001010110001101101111011001 > 0001100101011100100010111000100000010100110110100101101110011000110110010100 > 1000000100100100100000011101000110100001101111011101010110011101101000011101 > 0000100000011101000110100001100101001000 > > 0 > > >0 > > > > >011001110110000101101101011001010010000001110111011000010111001100100000011 > 1010001101111001000000110 > > > > >110101100001011010110110010100100000011000010110111000100000011001010110111 > 0011000110110111101100100011001010111001000101111011001000110010101100011011 > 0111101100101011100100010000001110100011011110010000001110000011011000110000 > 1011110010010000001100001011011000110111101101110011001110010111000001101000 > 0101000001101000010100011101000101000000011010000101000001101000010100100100 > 1001000000110111001100101011001010110010000100000011000010010000001110111011 > 0000101100001011000010110000101100001011011010110001001110101011011000110000 > 1011011100110001101100101001000010010000100100001001000010000110100001010000 > 011010000101001000101011100100110100101100011 > > > > > > > > > > > >From: [EMAIL PROTECTED] (Michael Dinowitz) > > > >Reply-To: [EMAIL PROTECTED] > > > >To: CF-Community <[EMAIL PROTECTED]> > > > >Subject: RE: BINARY > > > >Date: Fri, 24 May 2002 14:28:26 -0400 > > > > > > > >Build your own. > > > >FormatBaseN(Asc('a'), 2) > > > > > > > >At 01:43 PM 5/24/02, you wrote: > > > > >LOLOL! I was thinking of that! It got REALLY slow there for a few > > > > >encodes and decodes ... > > > > > > > > > >Hmmm....PHP can't take the load??? <grin> > > > > > > > > > >Erika > > > > >With a K > > > > >Spreading the good of binary worldwide ... > > > > >------------------------------------------------------------ > > > > > > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists