I know this thing is rather critical and I think it will not be changed, but...
Currently you can call private routines of objects from outside:
Code:
[Main]
...
Dim MyObject As clsMyClass
...
CallSub(MyObject, "DoSomething") ' this should NOT work but it does
Code:
[clsMyClass]
...
Private Sub DoSomething
...
At least a warning could be useful.
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29bTtvN
via IFTTT
Aucun commentaire:
Enregistrer un commentaire