Hi Ken,

An interesting thought!  I've used it without parentheses for years and it's
never bitten me on the bum - perhaps this is the first time :-)  I'll start
using the brackets.

John

John Weller
01380 723235
07976 393631


> -----Original Message-----
> From: ProfoxTech [mailto:[email protected]] On Behalf Of
> Ken Dibble
> Sent: 13 October 2017 15:26
> To: [email protected]
> Subject: Re: Odd Behaviour
> 
> 
> >ThisForm.pgfIncExp.ActivePage = This.Value ThisForm.Refresh
> 
> Probably already thought of but the proper syntax of the command is:
> 
> ThisForm.Refresh()
> 
> (ie, with parentheses)
> 
> Such code would run semi-reliably without the parens in VFP 6 but less so
in
> later versions. I have had a few instances in which bad code generates
errors
> under some circumstances but not others, in seemingly random fashion,
> owing most likely to the behavior of the compiler.
> 
> Ken Dibble
> www.stic-cil.org
> 
> 
[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: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[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