CallByName?

BlitzMax Forums/BlitzMax Programming/CallByName?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's unfortunate that it's not built in to BMax.

Basically, Soul, I am writing a LISP-like interpreter and I wanted to make it easy for people to use their existing set of BMax functions from within it. I have a runtime object that contains a stack (implemented as a TList) so I will use that for wrapper functions. It's just unfortunate that in order to use an BMax function, I (or the user) will have to write wrappers that peel things off the stack and pass them in to the real function.