Are you using TGF? string of$( "loader ini" ) is an old function TGF used. If you have MMF, use GroupItemString$( "Ini", > Enter string here <, > Enter string here < )
With the old ini functions, things are a little more tricky.
Say you have an ini file c:\game directory\loader.ini and I assume the settings of the loader ini object are correct. And let's say the contents of the loader.ini is:
Before you use the function string of$( "loader ini" ) you must set the current group to "musicGroup" and set the current item to "musicItem".
I have tested that the string really is "music.mp3" with this event: Allways - set textbox text to the string of ini--> textbox shows text "music.mp3". Allso i can get "c:\gamedir\" to the textbox but i can't combine them. Is there any solution to put them together?
That's wierd, and I don't know why that's happening, but I guess the solution is to load the string from loader ini into a string object then combine appdrive$ + appdir$ with the contents of the string.
Using strings and values directly from an INI could be slightly dodgy (or not work at all) on earlier versions - I only noticed this once when using MMF1.2, I think, but it's possible it's the same problem.