the usage of CLEAR ON RESET
-
- Posts: 13
- Joined: Wed Sep 16, 2015 10:54 pm
- Points :60
- Contact:
the usage of CLEAR ON RESET
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
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
Java card newbie
Re: the usage of CLEAR ON RESET
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.
Who is online
Users browsing this forum: Google [Bot] and 57 guests