Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Modify application on runtime

edited November 2013 in Questions Posts: 23

Hey I was wondering how the saveProjectTab() worked... I have used it to create tabs, save backup and reload projects. But i was wondering if saveProjectTab() can be used to create or modify a page containing functions (generated by user in application) during runtime and would those functions become instantly accessible to the running application or would it require a reboot? and also is this possible when the project is released no longer running in the codea developers environment?

Comments

  • Jmv38Jmv38 Mod
    edited November 2013 Posts: 3,295

    Once you change a tab you must do restart() to have it work. Or you must run it as a string with
    loadString(str)()

  • Posts: 23

    loadString(str)()
    is like an eval function???? so i would pass a string containing code to that function and it will run it?!? if this is true then would solve me problem... allowing the users to make their own functions... having the string built by a GUI

  • Jmv38Jmv38 Mod
    Posts: 3,295

    Yes

Sign In or Register to comment.