Yeah, its a real string, so you'll need to use str_cpy(test_string,tex_name); instead of test_string = tex_name; and if(str_cmp(tex_name,"bluetex.pcx")) instead of if(tex_name=="bluetex.pcx") (both assuming lite-c, may work for c-script, otherwise I dunno)
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial