Skip to main content
gamedev.net
🔒 Locked

Pascal strangeness

Started by BradDaBug Nov 9, 2002 at 9:49 PM 0 replies 200+ views
Original Post
BradDaBug
BradDaBug
I''m taking a Pascal programming class, and the other day we started looking at "nested procedures." When I first heard the term I figured it meant something like calling a procedure from withen a procedure, but then I find out that in Pascal there are procedures withen procedures, like this: procedure foo(blah blah) begin (* do some stuff *) procedure bar(blah blah) begin (* do some more stuff *) end; ene; I''ve been using C and C++ for a while now, and I''ve NEVER seen anything like this before! Is this something that only Pascal does, or have I been missing out on yet another feature of C/C++?
I like the DARK layout!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.