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: > >>010010010010000001110111011000010111001100100000011000010010000001101100011010010111010001110100011011000110010100100000011001000110100101110011011000010111000001110000011011110110100101101110011101000110010101100100001000000111011101101000011001010110111000100000010010010010000001100011011000010110110101100101001000000110000101100011011100100110111101110011011100110010000001110100011010000110010100100000011011000110100101101110011010110010000001110100011011110010000001110100011010000110010100100000011001010110111001100011011011110110010001100101011100100010111101100100011001010110001101101111011001000110010101110010001011100010000001010011011010010110111001100011011001010010000001001001001000000111010001101000011011110111010101100111011010000111010000100000011101000110100001100101001000 0 >0 > >>0110011101100001011011010110010100100000011101110110000101110011001000000111010001101111001000000110 > >>1101011000010110101101100101001000000110000101101110001000000110010101101110011000110110111101100100011001010111001000101111011001000110010101100011011011110110010101110010001000000111010001101111001000000111000001101100011000010111100100100000011000010110110001101111011011100110011100101110000011010000101000001101000010100011101000101000000011010000101000001101000010100100100100100000011011100110010101100101011001000010000001100001001000000111011101100001011000010110000101100001011000010110110101100010011101010110110001100001011011100110001101100101001000010010000100100001001000010000110100001010000011010000101001000101011100100110100101100011 > > > > > >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 ... > > >------------------------------------------------------------ > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists