Call function with Identifier as a String?

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

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Can a function be called using a string as the name of the function?

e.i.

RunFunction$ = "Function2"

'?
End

Function Function1()
Print "Function 1"
End Function

Function Function2()
Print "Function 2"
End Function