Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you tell if a property is an array (version 8)
Message
De
15/04/2009 10:33:24
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01393713
Message ID:
01394967
Vues:
66
>>>>All the more reason to have it, IMO. What do you think this means: GOMONTH(DATE() - DAY(DATE()) + 1, 1) - 1
>>>>
>>>>A rose by any other name would smell as sweet, but having to decipher a formula stinks.
>>>>
>>>
>>>It means last day of this month. What is there to decipher it? To decipher you need something like a cipher, no? Maybe I don't see the philosophy here:) IMHO that X2... was something to decipher for a simple task that you could do inline.
>>>
>>
>>I'm surprised you do not see the problem. GetLastDayOfMonth() needs no deciphering/decoding/thought. If you have never seen the above line, you cannot tell what it does as quickly as GetLastDayOfMonth().
>
>Hi Mike,
>
>I agree with Cetin. You're creating a solution to a problem that doesn't exist.

Not true at all. Just pick up anyone else's code and see how soon your head is swimming from all the formulae. Code should not be hard to read.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform