Work
Code: Select all
class qwerty : actor
{
string asdf;
states
{
spawn:
tnt1 q 100 {
asdf = self.getClassName();
console.printf("%I", asdf.indexOf("we") );
}
loop;
}
}
Code: Select all
class qwerty : actor
{
states
{
spawn:
tnt1 q 100 {
console.printf("%I", self.getClassName().indexOf("we") );//Invalid expression on left hand side of IndexOf
}
loop;
}
}