Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone tell me what this means ? 1

Status
Not open for further replies.

UncleBens

IS-IT--Management
Dec 26, 2002
5
BE
PW = new Array(68, 86, 89, 71, 82, 89, 76, 86);
PWK = String(Math.Floor(17724538.509055));
Word = "";
for (i = 0; i < PW.length; i++)
{
Word = Word + chr(PW - PWK.charAt(i));
} // end of for

Thanks for your help !!
 
Some secret code I guess... Especially following Bill Watson's usual kind of posting, i.e without code tags...

Recreates a word based on an array of characters minus the value of the corresponding digit in the PWK integer...

Properly posted, the following yields an interesting word!

Code:
PW = new Array(67, 75, 83, 84, 32, 91, 70, 87, 88, 87, 84);
PWK = String(Math.Floor(12780453586));
Word = &quot;&quot;;
for (i = 0; i < PW.length; i++)
{
    Word = Word + chr(PW[i] - PWK.charAt(i));
} // end of for
trace(Word);

Regards,

cubalibre2.gif
 
Your initial integer... 17724538.509055 deciphers as being &quot;CORENTIN&quot;.

I prefer my integer... 'Cause he's my hero!

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top