Page 1 of 1

the usage of CLEAR ON RESET

Posted: Mon Jun 20, 2016 3:09 am
by Asineshjil
Hello,

We can create transient array to have data stored in RAM, and the event attached is "Clear on Reset".

Could anyone tell me the usage of CLEAR ON RESET event in this case?

Why do we need CLEAR ON RESET event attached to transient data? Because on card reset, things on RAM will be automatically cleared. Having the event CLEAR ON RESET seems redundant.

kind regards,
ASHINE

Re: the usage of CLEAR ON RESET

Posted: Mon Jun 20, 2016 4:29 am
by mabel
It's used to distinguish between clear on applet deselect and card reset. If you didn't have a flag, they would all be clear on reset.