mzscript refresh bug Thread last updated on 2006-04-26 19:33:01

Posted by member 280260 on 2006-04-26 18:27:41

*script refresh !execute [!resetPorts] [!resetTouchBrowsers] [!startup]


When mzscript loads, it says that "refresh" is an "invalid or misplaced token." However, when I !refresh that line does get evaluated properly. Am I missing something here?

Posted by member 212670 on 2006-04-26 18:45:13 link

Same happens here - module bug, probably.

I never use !refresh, though. I've often found it to have unexpected results.

Posted by member 280260 on 2006-04-26 18:49:30 link

I haven't found any problems, myself. Is it system-dependent?

I'm using it because I have a label that gets dynamically created and destroyed, and I can't think of any way to recreate it without !refresh.


It just occured to me that I should probably just !netReloadModule xlabel here.

Posted by member 212670 on 2006-04-26 19:08:30 link

Why not just use !LabelCreate LabelName? Just don't define its *Label Name line, and it won't create until you call that bang. Then you can also !LabelDestroy LabelName, too.

Posted by member 280260 on 2006-04-26 19:33:01 link

Will it then be created with all the settings I put in rc file? I need it added to a group.

*edit: works like a charm. Thanks a lot!