Just curious, but why are you using TRUE and FALSE in conditions instead if 1 and 0 ???
if GetMusicExistsOgg (1) = TRUE
if GetMusicExistsOgg (1) = 1
if GetMusicExistsOgg (1)
Some people use the latter but I like to use the 1 because of the information in the help manual.
Quote: "GetMusicExistsOGG
Description
Returns 1 if a music file exists at the specified ID, 0 otherwise. "
I get errors just trying to compile that single condition when using TRUE instead of 1
Quote: "Musique_bJoue = TRUE"
That is not going to work either.
Musique_bJoue is an integer type, so it can only contain integer values like 1 or 0
True is a word, which is a string, and would require a string variable to hold that value, and they are identified with a $ as in Musique_bJoue$
Even then, the value for the string would have to be in quotes if plain text such as Musique_bJoue$ = "TRUE"
If you wanted a string to be assigned the value of another string then it would be like Musique_bJoue$ = Conjured$
A combinations of strings or values converted to strings would be like so... Musique_bJoue$= Conjured$ + " is right if TRUE equals " + str(1)
All you need for flags though are integers with 1 and 0 values for true or false.
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1