On Mon, 6 Jan 2014 19:41:22 +0500
Ivanko B <[email protected]> wrote:

> In MSElang  the example would be written as
>  "
>   lab1:= tlabel.create();
>   with l:lab1 do
>    l.left:= 10;
>    l.top:= 20;
>   end;
> ==============
> You probaly don't have TCL experience :
> 
> button .btn1 -caption "Exit" -command {exit}
> pack .btn1 -padx 5 -pady 5
> 
> that's single line per whole definition - reduces definition length
> (an important  kind of readability) very much.

I don't know to whom this comment is directed, because nobody
criticized tcl until now. But to be very precise, these are TWO lines
of code, because without pack the button is useless; while the pascal
source specify geometry with left/top.

Anyway, I find tcl is a very respectable language, and its power goes
far beyond many people think. In designing my language I was inspired
by optional arguments like "-caption", "-command" and so on. Especially
the last one "-command", is concise and pwerful (the power of Tcl!).
Unfortunately it has several defect (but all is debatable...).

Cheers,
linuxfan

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to