From: Uwe Klein on
Rodericus wrote:
> Physicists and electric engeners tend also
> to program in assembler like any other language.

True enough. Any tool that does the job is OK.
( though some tools are more equal than others ;-)

> These are programming
> languages with no other control flow than goto.

Balooney!

I have still to see an instruction set that does
not have some form of
call some code elsewhere and return to this same place.
( with more or less state saving )

AND:
goto is definitely not control of programm flow.
If, while, ... or jump bit set, branch on zero ....
with the most primitive being "skip next cmd on <flag>"
thats control of programm flow.


uwe

From: Rodericus on
On 21 Dez., 15:49, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:

> I have still to see an instruction set that does
> not have some form of
> call some code elsewhere and return to this same place.
> ( with more or less state saving )
>
> AND:
> goto is definitely not control of programm flow.
> If, while, ... or jump bit set, branch on zero ....
> with the most primitive being "skip next cmd on <flag>"
> thats control of programm flow.

Yes, instruction sets are much richer as necessary.

I also count these conditional jump instructions as goto, as also in
fortran I need the if and not only the goto for the control flow. You
understood the issue. But the question:

Would you like a goto in Tcl or not?

Rodrigo.
From: Rodericus on
On 21 Dez., 16:25, Rodericus <sc...(a)web.de> wrote:

> I also count these conditional jump instructions as goto,

And also indirect jumps, conditional or not.

Rodrigo.
From: Uwe Klein on
Rodericus wrote:
> On 21 Dez., 16:25, Rodericus <sc...(a)web.de> wrote:
>
>
>>I also count these conditional jump instructions as goto,

>
>
> And also indirect jumps, conditional or not.
>
> Rodrigo.

You seem rather generous in labeling things "goto" ;-)

I get the impression that the "goto" you are
looking for is [switch].

Now the c goto usage I seem to see the most is
the unraveling of successive dependent actions.

Now, with the duality of code and data in tcl
you can take a better hammer from your toolkit.

Not much need for goto.

uwe

From: Rodericus on
On 21 Dez., 17:26, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:

> Now, with the duality of code and data in tcl
> you can take a better hammer from your toolkit.

What I do not explote, better said: avoid.

Rodrigo.