In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
In the code below, the problem is that the string and number conversions don't work. Below, we assign 5 to n_Number; and "test" to s_String. But when we run it, the condition is never executed.
I tried setting the 's_BreakPointString := s_BreakPointString' lines as breakpoints, and it never gets there. I also tried stepping through, and the condition is ignored; it just skips to the next line, after the endif.
All the IF..ENDIF conditions are true and its internal code is evaluated. Please try this version of your code and see on the debugger windows how the logdebug() calls are excuted.
If the LogDebug() statements are thrown in, then they are executed.
But the statement
s_BreakPointString := s_BreakPointString
is never reached. It's just skipped over.
It looks like Harbour is just ignoring trivial statements that assign variables to themselves.
Anyway, I seem to have the main program working now, so it doesn't matter now. It was related to some Sql Server tables that were generating an error when they were opened, specifically when the load() method was executed.