Page 1 of 1

[Done] 6.40a1 fixed string and debug output

Posted: Sat Jan 24, 2026 9:51 am
by breeze4me

Code: Select all

Define s.s{64}
s = "test"
;MessageRequester("", s) ; no error.
Debug s

Code: Select all

---------------------------
PureBasic - Assembler error
---------------------------
error: 's0' undeclared (first use in this function); did you mean 's1'?

  362 | s0=SYS_AddString(SYS_CopyFixedString(v_s,64),s0);

      | ^~

      | s1

purebasic.c:362:1: note: each undeclared identifier is reported only once for each function it appears i

Re: [6.40a1] fixed string and debug output

Posted: Sat Jan 24, 2026 10:00 am
by BarryG
Assembler error? The new version needs the C backend, so maybe this is why?

Re: [6.40a1] fixed string and debug output

Posted: Sat Jan 24, 2026 12:46 pm
by mk-soft
Its a Bug, and the error text is wrong

Re: [6.40a1] fixed string and debug output

Posted: Wed Jan 28, 2026 9:51 am
by Fred
Fixed.