Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array Property
Message
From
07/04/1998 01:14:40
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00089579
Message ID:
00090063
Views:
34
>>Hello,
>>
>>
>>>I just finished converting/re-writing a FPW program into VFP5, and the original programmer used [] around strings. VERY hard to read, particularly as there were many arrays interspersed with the strings. Guess you can add me to the 'bad programmer'
>>Ahem, personally, I'm using only square brackets around strings. It's because I
>>don't like constructions like "'blah blah blah'" when it's time to make macro
>>substitution or something like. But, I would like outline it, it is up to
>>developer's taste how to write the code.
>
>Vladimir, if the code can be read easily by another programmer, than any construction is not bad. In my case, the first programmer mixed strings and arrays, and you couldn't always tell the difference.
>
>B


Ack! Arrays should be the only vars with brackets. Just my .02
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform