<div dir="ltr"><div>Please show the code, which gives that error (it's error, not crash?).</div><div><br></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 4, 2018 at 10:13 PM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the past I was told to emulate the "null" and I did it based on the<br>
json class, but now I have the following problem<br>
<br>
I have my own Settings class but when I try to write, I get an error<br>
and a crash because some keys instead of getting the string I get a<br>
reference (as emulated in the json class)<br>
<br>
Of course the settings clas at write does not xpect to have any null<br>
key value, so that's the problem<br>
<br>
how can overrite the process to do not get a crash?<br>
or how to write those null keys into a empty string?<br>
<br>
i got at console that poutput:<br>
<br>
gb.settings: warning: unable to save settings:<br>
/home/general/Devel/gambasex/<wbr>excore/exdatabase.conf: Settings.Save.204<br>
Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted<br>
Object, got Pointer instead<br>
<br>
that due emulated null value based on json class of gambas<br>
<br>
Lenz McKAY Gerardo (PICCORO)<br>
<a href="http://qgqlochekone.blogspot.com" rel="noreferrer" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a><br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div><br></div>