You need to sign in to do that
Don't have an account?
AlSawtooth
Access a boolean from another (packaged) class?
I'm writing a trigger to sidestep an error from a packaged class. The package class includes the variable
then, the packaged code does some stuff and eventually throws an error if RIP = false. I'm writing some code to basically mimic (and improve!) the packaged code, but I don't know how to include the RIP variable in my code so that I don't get the error message (since it defaults to false). Does that make sense?
If I try to call the class.variable, I get a compile error saying the variable doesn't exist (I assume because it's packaged code?).
Thank you!
public static boolean RIP = false;
then, the packaged code does some stuff and eventually throws an error if RIP = false. I'm writing some code to basically mimic (and improve!) the packaged code, but I don't know how to include the RIP variable in my code so that I don't get the error message (since it defaults to false). Does that make sense?
If I try to call the class.variable, I get a compile error saying the variable doesn't exist (I assume because it's packaged code?).
Thank you!
Thanks!