+1 for mdot, except on assigned variables where there’s no ambiguity:

end = m.end + 1

Thierry Nivelet
http://foxincloud.com/
Give your VFP app a second life in your cloud

> Le 6 juin 2019 à 16:56, António Tavares Lopes <[email protected]> a écrit :
> 
> The mdot is almost the single piece of functionality in VFP that acts like
> a namespacing container / insulator. If I had any advice to give, it should
> be to use it at full discretion.
> 
> for m.for = 1 to 10
>   m.next = m.next + 1
>   m.do = m.do * 3
>   if m.next < 5
>     m.end = m.end - 1
>   end if
> next
> 
>> On Thu, Jun 6, 2019 at 3:34 PM Johan Nel <[email protected]> wrote:
>> 
>> Well, it is still not advisable to use reserved/keywords in any
>> programming language...
>> 
>> for for = 1 to 10
>>   next = next + 1
>>   do = do * 3
>>   if next < 5
>>     end = end - 1
>>   end if
>> next
>> 
>>> On 2019/06/06 15:50, António Tavares Lopes wrote:
>>> That's a compelling argument for the use of mdot *whenever* possible!
>>> 
>>> m.Next(1) = .F. && no-boom!
>>> 
>>> 
>>> On Thu, Jun 6, 2019 at 12:59 AM Bill Anderson <[email protected]>
>> wrote:
>>> 
>>>> DECLARE Next(1, 1)
>>>> Next(1) = .F. && Boom!
>>>> 
>>>> Bill Anderson
>>>> 
>>>> 
>>>> --- StripMime Report -- processed MIME parts ---
>>>> multipart/alternative
>>>>   text/plain (text body -- kept)
>>>>   text/html
>>>> ---
>>>> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to