version 0.9.0 2025-04-04 issues

Started by James C. Fuller, April 04, 2025, 02:14:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

James C. Fuller

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

Roland Stowasser

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.



Charles Pegge

#2
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

Roland Stowasser

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?

Zlatko Vid

and what is NOW wrong with $ filename "name"  :o
do we must complicate things without reason.

Charles Pegge

I think James was compiling from the command line.

James C. Fuller

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

Roland Stowasser

Thank you, James. I now understand the purpose of the -32 / -64 option.