I have really narrowed it down to the simplest form and the error still occurs.

<%
        ARRAY TEXT(atTest;0)
        $ret:=Parse("1-2";"-";->atTest)
%>

It's a limitation in 4D, there's nothing I can do about it. This fails in compiled 4D itself:

EXECUTE("C_TEXT(vTest)")
C_POINTER($p)
$p:=Get pointer("vTest")

It seems 4D will happily reference a dynamically created variable, but it can't create a pointer to it because it doesn't exist within the compiled symbol table.

The only real workaround is to declare the array in a 4D method and call that method instead of declaring it with Active4D.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to