Hi, seems like optimizer problem. -kc switch fixes code.
Regards, Mindaugas Mindaugas Kavaliauskas wrote:
Hi,
the following code:
-------------------------------
STATIC snCount := 0
PROC main()
LOCAL nI
nI := snCount
snCount := NEWCOUNT()
FOR nI := nI + 1 TO snCount
? nI, snCount
NEXT
RETURN
FUNC NEWCOUNT()
RETURN 10
-------------------------------
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
