View Single Post
11-06-10, 06:04 AM   #3
eberkain
A Fallenroot Satyr
Join Date: Nov 2009
Posts: 20
Originally Posted by Dridzt View Post
"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 '\')
I agree there is no file checking function, but couldn't he declare a unique global variable in a file, and then do an if varname == nil in a different file, wouldn't that serve the same function in most cases?
  Reply With Quote