bytebits,
It wasn’t that I didn’t want to bother mentioning the error; I simply forgot. My bad.
Bart,
If I remember correctly, it was something like [Error: incorrect arg, got: ‘AnsiString’, expected: ‘QWORD’], which made no sense at all, and that’s why I decided to take a different approach and come here to ask.
One thing I know for sure is that I tried several times, checked the code over and over, but I always got this error—and strangely, it worked with “assign” or with the alternative I posted.
I’m trying to remember this because, in the meantime, after restart the pc and a few dozen more lines of code and some fixes, now i test it again and the error stopped appearing,so I no longer had access to the exact error message. Don’t ask me why.
High-level stuff isn’t really my cup of tea, but hardware/firmware.
Ty to everyone who replied.
Best regards,
Jorge