[Solved] Getting a button to run a function

A post was split to a new topic: Keep getting the error in compiling…