Re: Opendialog problem



In article <xn0evjvcojwg6o2008@xxxxxxxxxxxxxx>, newsgroups@xxxxxxxxxxxx
says...
Jim P wrote:

if opendialog.execute = true then

Why would you do:

if mybooleanexpression = true then

It suffices (and is much safer) if one does:

if mybooleanexpression then

I realize it suffices, but why is it safer?


--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.



Relevant Pages

  • Re: Opendialog problem
    ... It suffices (and is much safer) if one does: ... if mybooleanexpression then ... sometimes see it when API functions are declared as returning a boolean ...
    (alt.comp.lang.borland-delphi)
  • Re: Opendialog problem
    ... Rudy Velthuis wrote: ... It suffices (and is much safer) if one does: ... if mybooleanexpression then ...
    (alt.comp.lang.borland-delphi)
  • Re: Opendialog problem
    ... Jim P wrote: ... It suffices (and is much safer) if one does: ... if mybooleanexpression then ...
    (alt.comp.lang.borland-delphi)
  • Re: adding to a ddmmyyyy date
    ... Better, yes; but why safer? ... so, in this context, if parseInt ... suffices. ... Similar considerations apply to ...
    (comp.lang.javascript)