Is there a way to perform a procedure in netlogo knowing only it's name?

by Kevin Kons   Last Updated September 11, 2019 17:26 PM

I am developing a netlogo extension and I want to add a command where the user will tell me a list of procedures names that have no parameters. Later I will perform this procedures but the only thing I will know is the name of the procedure that was passed to me before.

The command that the user will use to inform the name of the procedures is the following:

qlearningextension:actions ["procedure1" "procedure2" "procedure3"]

Later the extension will perform this procedures. I want to know if there is a way to get a procedure with only having it's name.

Tags : netlogo

Related Questions

Updated May 23, 2015 05:11 AM

Updated July 16, 2015 13:19 PM

Updated February 26, 2017 20:26 PM

Updated July 03, 2015 17:11 PM