Search found 2 matches

by captn_retardo
Thu Jun 11, 2009 7:11 pm
Forum: Support and Development
Topic: Requesting assistance coercing a string to a function call
Replies: 10
Views: 10242

Re: Requesting assistance coercing a string to a function call

Thank you so much for the quick response. Loadstring() is exactly what I was looking for.
by captn_retardo
Thu Jun 11, 2009 5:59 pm
Forum: Support and Development
Topic: Requesting assistance coercing a string to a function call
Replies: 10
Views: 10242

Requesting assistance coercing a string to a function call

Hello all, I am attempting to load a string from a file, and then coercing that string into the function name. For example, I would like to do something like: function test_func() print("yes!") end str = "test_func" str() So that end part, where I str() is obviously wrong, as a s...