Charles,
The attached compiles fine with 0.9.0 2025-04-04 but the output is not correct.
Compiled with 0.9.0 2025-04-01 the output is correct.
James
I do not know if this is helpful, but I used co2.exe 32-bit to create the 64-bit exe file (I had to add: $filename "pcre_test.exe" at the start of the program) This exe seems to work correctly.
I found the source of the problem, which emerged when I converted console print from a function to a macro
print g_S(1) space(30-len(g_S(1))) " >> " g_S(2) cr
updated here:
https://forum.it-berater.org/index.php/topic,6897.msg28636/topicseen.html#msg28636
When studying the code of pcre_test.o2bas I found that I missed some innovations.
"uses pcre_test.res" is an interesting option.
It also seems to be possible to create an executable without using $filename "Name". I will keep this procedure. But what command can I use to create pcre_test.exe without using $filename?
and what is NOW wrong with $ filename "name" :o
do we must complicate things without reason.
I think James was compiling from the command line.
I actually compile from within RadAsm3 ( I should clean my implementation and post here).
I ONLY work with 64bit
cO2m64 -m -64 pcre_test
James
Thank you, James. I now understand the purpose of the -32 / -64 option.