Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another Wishlist
Message
De
10/09/1999 00:18:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00262071
Message ID:
00263249
Vues:
18
>>>>>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
>
>LOL, I didn't read it as a flame or take it personally, no worries. One of the things I really liked about Fox when I made the switch over 8 years ago was the rich nature of the language, so many ways to do things. It's still an attribute I cherish. The whole purpose of the forum is to voice opinions, I'm glad you voiced yours.

Thanx for taking it in the spirit intended, not the necessarily the one that came across...

Rob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform