Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8110

Re: EndWindow()

From "Jamal Assaf" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: EndWindow()
Date 2015-05-14 09:02 -0400
Organization albasani.net
Message-ID <mj26cf$9hd$1@news.albasani.net> (permalink)
References <misvlv$51q$1@dont-email.me> <mitrjj$i63$1@speranza.aioe.org> <09927dba-637d-40cf-96bb-5e598fb7c277@googlegroups.com>

Show all headers | View raw


Mathias,

I guess ambiguous questions lead to a lot of speculations, in which case, 
you're right :)

Jamal

"Mathias"  wrote in message 
news:09927dba-637d-40cf-96bb-5e598fb7c277@googlegroups.com...

Yes, but if "// Something here" is a comment (like in this case) it's not 
that bad...

/Mathias

Den tisdag 12 maj 2015 kl. 23:33:43 UTC+2 skrev Jamal Assaf:
> >> yet I occasionally see in other peoples codes. <<
>
> Looks like a bad coding practice by the "other people".  You hear "other
> people", that's really bad, bad!!
>
> The self:EndWindow() must be the last called method or it the last 
> statement
> in an IF/ENDIF clause.
>
> If any code to need to be executed after calling the self:EndWindow(), it
> should be put it the QueryClose() and/or Close() event methods.
>
> Jamal
>
> "Martin"  wrote in message news:misvlv$51q$1@dont-email.me...
>
> Just a simple question
>
> I have since starting VO always done RETURN Self:EndWindow(), yet I
> occasionally see in other peoples codes.
>
>
> Self:EndWindow()
>
> // Something here
>
>
> RETURN NIL
>
> Any issues with this please? 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Self:EndWindow() Martin <Martin@spam.spam> - 2015-05-12 14:38 +0100
  Re: Self:EndWindow() "Jamal Assaf" <someone@example.com> - 2015-05-12 17:33 -0400
    Re: Self:EndWindow() Mathias <mathias.hakansson@consultec.se> - 2015-05-12 23:59 -0700
      Re: Self:EndWindow() Martin <Martin@spam.spam> - 2015-05-13 10:23 +0100
      Re: EndWindow() "Jamal Assaf" <someone@example.com> - 2015-05-14 09:02 -0400

csiph-web