What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » What does this code do?

What does this code do?
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. What does this code do?
This is some FoxPro code that a friend of mine came across. He says the person that wrote it worked with him, but has left forcing him "work around" it.

I can't figure out what it's needed for although I can kind of tell what it's doing...

[Image: attachment.php?pid=1019642]

.jpg File Attachment: wtf.jpg (28.25 KB)
This file has been downloaded 678 time(s).

This post was edited on 03-17-2012 at 09:21 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
03-17-2012 09:21 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: What does this code do?
I have no idea what the hell it's supposed to be used for or why it's so weirdly obfuscated, but it's quite simple :zippy:

The string is in 6 character chunks:
00 1000
01 0964
02 0953
03 0942
04 0931
05 0920
06 0909
07 0898
08 0887
09 0880
10 0880

The loop just multiplies the first bit by 1000 and if it's greater than DX (whatever that is) divides the second bit by 1000. It makes no sense at all out of context, so I can't really explain any more :P

Also, is this language really case-insensitive with variables? Ewww.
03-17-2012 09:52 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On