Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another Wishlist
Message
De
08/09/1999 19:06:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00262071
Message ID:
00262654
Vues:
22
>>>This is a small one, but...
>>>
>>>I'd really like to see the ++ and -- operators in VFP. Much easier to code:
>>>
>>>lnMyVar++ as opposed to:
>>>lnMyVar = lnMyVar + 1
>>
>>FWIW: I find this forcing of everyone to use 'C' type coding to often confuse and otherwise mess up the less sophisticated user. AFAIC: If you want to code in 'C', use a 'C' compiler. Or use Clipper -- they drove all their developers to FoxPro by forcing a pseudo-C syntax on them with Clipper-5x. Personally, I find the 2nd line MUCH easier to understand, and its consistent with any other mathematical or concatenation formula.
>>
>>Rob
>
>Thanks for your comment. I wasn't thinking of it as forcing 'C' type coding. I coded in C many years ago and do NOT miss it! VFP is a much better language and environment in my humble opinion. It's just a short cut I like, just like the ! instead of NOT in a conditional. It was just a thought.

Okay -- I understand you want a shortcut. I wasn't trying to 'flame' you, and I know you weren't proposing to 'force' everyone to use it, but I find that syntax particularly obnoxious and unreadable.

P.S. I'm not a fan of '!' vs 'NOT' either -- too easy to get misread when reviewing the code...

Guess I have my grumpy hat on today... Don't take it personally.

Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform