C does have goto. cheers Wayne
On Thu, Apr 17, 2008 at 12:57 PM, Marco Alvarado <[EMAIL PROTECTED]> wrote: > The problem of GOTO is that C doesn't have one. If C had one, and > Pascal didn't have a GOTO, they would blame Pascal for not having it. > In assembler GOTOs make a lot of sense (i.e. JMP and Jxx), and it's > weird C doesn't have one, after all C tries to be the lowest level of > the highest level languages. It's great Pascal have both high and low > level features. > > In my opinion nested functions are a more structured way of creating a > program, that's something you don't have in C. > > And when you have to write something like: > > int x, int y, int z, int w, int a, int b, int c... > > Instead of the faster, more elegant and more readable Pascal way: > > x, y, z, w, a, b, c: Integer > > I don't understand why people say that C is a faster language... > neither the compiler beats Pascal. > > Also, what's the advantage of having a return, it forces to quit the > function, and that's lack of freedom. If you wanted to keep working > with the value, you would have to create a temporal variable, which is > less readable, especially if you are already working with other temps. > > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- Cheers Wayne _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal