luis wrote:The QueryRecords.pb example is empty (?).
That's true and right.
The original examples of QueryRecords are also empty
luis wrote:
In the AddRecords.pb example, in DisplayRecords(), you have defined
Protected st1.s = ""
Protected st2.s = ""
Protected st3.s = ""
but then xdbGetField() it's poking the returned fields values inside them, so you are writing to unallocated space.
Hm...
Without = "" I got an 0 pointer address. So I added this.
In general I would agree.
But what's about this:
Code: Select all
Protected String1.s
Protected String2.s = "Test"
String1 = String2
Isn't that the same ?
During compilation it's unknown how big String1 will be.
So it is extended during runtime.
Does PokeS() the same or not?
I also never got an error message that I'm writing to an illegal address.
I expect an 'illegal memory access' or something similar.
Maybe one of our gurus can give me an ultimate explanation.
And thanks for testing
