Call function with Identifier as a String?

BlitzMax Forums/BlitzMax Beginners Area/Call function with Identifier as a String?

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.

No, thats not supported in compiled languages (for various reasons)

But what you can do is use functionreferences:

global RunFunction()

RunFunction = Function1
RunFunction()

RunFunction = Function2
RunFunction