Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
10 types of people
Message
De
10/10/2003 08:28:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00836301
Message ID:
00837335
Vues:
30
>>Sergey has a signature that contains the following text:
>>
>>There are 10 types of people: Those who can read binary, and those who can't.
>
>Guess they don't teach binary math in schools anymore. <g> Read it as, "There are two (which is "10" in binary) types of people..."

Here's a hilarious experience I just had a few minutes ago. And it's TRUE, I do not make it up!

I did:
select distinct ttod( a.from ) from ( lcFile ) into array laTmp
Since the table currently only has values 10-10-2003, this should have given:
laTmp[1]  "10-10-2003"
but it gave:
laTmp[1]  "02-02-2003"
I did a lot of debugging, couldn't explain what was happening and we thought with a laughter "well, maybe it's an easter egg, translating bin 10 to dec 02". :)

In fact, what was the cause?! I forgot to specify the a behind lcFile. And there was a similar table open in workarea a! The record over there indeed had 02-02-2003.

We have had a really good laugh! :))
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform