Options

SINGLE instance of a Codeunit and assigns

csimoneauxcsimoneaux Member Posts: 168
Form A calls on SINGLE instance of a Codeunit and assigns 'RED' to a global text variable. Form B call an instance of the same Codeunit and assigns the same global variable 'BLUE'. Form A then calls another function in the same Codeunit and retrieves the value of the global variable. What is the value?

a) Red * (chose a) <=
b) Blue (or B) <=
c) Null
d) You can't do this

Because it is a Single instance I have been told answer is A
BUT
Form A then calls another function in the same Codeunit and retrieves the value of the global variable

So would this make the answer B. I am so confused.

Comments

Sign In or Register to comment.