Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What do you think of 'Beautify'?
Message
From
01/05/2010 15:13:55
 
 
To
01/05/2010 09:01:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01462534
Message ID:
01462666
Views:
55
>But using [] for arrays is the most natural thing to do. I think it is connected with the weird behavior using [ ] in strings. It is a big bug for me anyway that should be corrected by now. Your version is SP2 (I use SP1) and looks like the bug still exists in SP2 (no hope from now on - with all the other bugs left in language).
>Cetin
>
My first programming language used [ ] for arrays and I have always used them for that. Perhaps it's just what I am used to, but using parens as array delilmiters made no sense -- you can't visually differentiate between an array value or a function call. Because [ ] can (should???) be used as array reference, it always takes me a little extra to recognize when they are being used as string delimiters. It strikes me as somehow "wrong" when I see them and the only time I use them as string delimiters is when I need to embed both ' and " inside the string. (I'll grant this is a personal preference and that using them when you want to embed either ' or " might be more readable.)
Previous
Reply
Map
View

Click here to load this message in the networking platform