I permanently linked the MUIRoyale plugin
Code: Select all
@REQUIRE "MUIRoyale", {Link = True}
Then I read about @FILE command and I did like this:
Code: Select all
@FILE 1, "hw_display.xml"
How to link it permanently?
Code: Select all
@REQUIRE "MUIRoyale", {Link = True}
Code: Select all
@FILE 1, "hw_display.xml"
Code: Select all
mui.CreateGUI(ReadString(1))
BTW. according the documentation ReadString would require the length input too, so I've always put length with FileLength(1) there, but good to know it can be used without tooairsoftsoftwair wrote:You need to create the GUI like this if you use @FILE:
Code: Select all
mui.CreateGUI(ReadString(1))
Indeed. Docs state it's not optional.jPV wrote:BTW. according the documentation ReadString would require the length input too, so I've always put length with FileLength(1) there, but good to know it can be used without too
Code: Select all
- Fix [Doc]: ReadString() documentation didn't mention that the length argument was optional