I don't know if many folks these days are familiar with the "pass by
name" operation. Such code these days is generally not implemented
due
to the MANY serious issues with security, and most languages don't
have
any implementation for it (other than some runtime object language
approximations using overloading to approximate it), and some list
processing languages like Clisp.
Anyway for the uninitiated, here is a fair explanation of how
it
works:
http://www.cs.sfu.ca/~cameron/Teaching/383/PassByName.html
I was going to write a C example, but I am just too rusty in
Algol to
be sure I coded it correctly. However, the Thunk method as shown
using
PASCAL is one method of implementing pass by value.
Regards,
Les H
I didn't understand initially what "pass by name means". Probably had to
look more careful at the program.
Doesn't matter any more. I need to do a statement: this thread is closed
from now. Ones more: thanks everybody for your responses!
--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines