Originally Posted by Sideshow
Hello
2 little questions:
- is there a way to check if a file is loaded. Some sort of isFile function
- what's the difference between using myfile = [[myfile]] and myfile = "myfile"
|
"No" to the first.
Difference is first version uses the string verbatim.
You can use [[Interface\AddOns\MyAddon\Sounds\my.mp3]]
as opposed to
"Interface\\AddOns\\MyAddon\\Sounds\\my.mp3" for the second. (had to escape '\')