From: wjjordan@bnr.ca (Jim Jordan ) Newsgroups: rec.music.filk Subject: Hackery Rhyme Date: 12 Nov 1996 14:38:50 GMT Organization: Nortel Technology, Ottawa, Ontario, Canada NNTP-Posting-Host: bquah127.bnr.ca A little piece I rewrote to explain procedure call stacks to budding computer scientists. The tune is obvious. (First printed in University of Waterloo's mathNEWS around 1986.) All around the dynamic RAM The processor chased the pointer. The function stopped to return its result-- Pop! goes the stack frame. Pointers to parms passed by ref'rence, A pointer back to the caller. That's the way procedures work: Pop! goes the stack frame. -- W. Jim Jordan, Nortel, Stop 314 Qualicum, PO Box 3511 Stn C, Ottawa, ON K1Y 4H7 Canada I do not speak for Nortel. Unsolicited commercial e-mail may attract an invoice.