Re: An XOTcl question

Liste des GroupesRevenir à cl tcl 
Sujet : Re: An XOTcl question
De : hgiese (at) *nospam* ratiosoft.com (Helmut Giese)
Groupes : comp.lang.tcl
Date : 11. Jul 2024, 22:04:44
Autres entêtes
Organisation : ratiosoft
Message-ID : <q5h09j11e5ves3rgii6gdq859tifkdulol@4ax.com>
References : 1 2
User-Agent : Forte Free Agent 1.93/32.576 English (American)
Hi Stefan,
thanks for caring, but I'm afraid I cannot reproduce it any more - the
project has progressed. It turned out that the error message was in
fact correct (it was a call to 'next') but this call wasn't in
'newLinePoint' but in 'LinePoint'.
That's in fact my only grief wth XOTcl: The error message produced
when something goes wrong in a constructor. In other situations the
error message pin points the exact location. I just made a quick test
by 'provoquing' an error. The result was as expected:

Provoqued error
    while executing
"error "Provoqued error""
    (procedure "checkRelPos" line 3)
    ::s::Line1 ::s::Line->checkRelPos
    invoked from within
"my checkRelPos              "
    (procedure "straightSegment" line 129)
    ::s::Line1 ::s::Line->straightSegment
... and so on until
"::s::State2 moveStateHL 435 110 1"
    (command bound to event)

Only in a constructor this mechanism apparently doesn't work. Well, I
trust that there is a technical reason for this behaviour  and it
cannot be helped.

Apart from that XOTcl is a fantastic tool.
Thanks again, Stefan, and best regards
Helmut

Date Sujet#  Auteur
26 Jun 24 * An XOTcl question3Helmut Giese
10 Jul 24 `* Re: An XOTcl question2Stefan Sobernig
11 Jul 24  `- Re: An XOTcl question1Helmut Giese

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal