Oxygen Basic
Programming => Problems & Solutions => Topic started by: Brian Alvarez on December 06, 2018, 03:34:07 PM
-
Hello Charles. :)
This is causing a compilation-time error:
char xyz[998997]
But this compiles fine:
char xyz[998996]
Is there an internal limit? That number limit doesnt look like overflow...
-
It looks like something is not being cleared internally.
I have this code a few rows earlier...
MACRO MSGLC_INIT(src, trg, vt)
MACRO .btstr(src, trg buf)
If i add the i declaration line like this:
MACRO MSGLC_INIT(src, trg, vt)
MACRO .btstr(src, trg buf)
int i = sizeof(trg) + 1
Now there is this error:
; ASM ERR: va _retval as int == [ebp-0x10]!! Unidentified instruction: va
; AFTER: .pbmain
; LINE: 358
Apparently after this line (around 100 lines ahead):
FUNCTION PBMAIN() AS INT
-
Hi Brian,
One of your macros may be losing a crlf so that one line gets attached to the line before.
-
Thanks Charles, i will check that and come back. :)