VFP 9.0 Fix2 - Macro Substitution

Rating: No reviews yet
Downloads: 121
Released: Apr 22, 2012
Updated: Apr 22, 2012 by ccb2000
Dev status: Stable Help Icon

Recommended Download

Source Code vfp9fix2
source code, 87K, uploaded Apr 22, 2012 - 121 downloads

Release Notes

1. BUG:

In vfp9, the procedure size can greater than 64KB.

There is a program for test:

*PROC testmacro

SET STEP OFF
SET ECHO OFF
SET DEBUG OFF
SET ESCAPE OFF
SET TALK OFF
SET SAFETY OFF

_SCREEN.VISIBLE=.T.
_SCREEN.WINDOWSTATE=2

PRIVATE m.x1
m.x1=".F."

IF &x1
?"Y"
ELSE
?"N"
ENDI
WAIT

RETURN

* END OF PROC TESTMACRO.

PROC testmacro_largeprocedure

PRIVATE m.x2
m.x2="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
m.x2="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
...
m.x2="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
m.x2="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

RETURN

* END OF PROC TESTMACRO_LARGEPROCEDURE.

The size of the procedure testmacro_largeprocedure is about 100KB, it is greater than 64KB.

The program is simple, we think it will display "N" and wait any key to continue ...

But when we run the program, it occur an error: Command contains unrecognized phrase/keyword (Error 36).
If we choice Ignore, it display "Y" and wait any key to continue ...

Reviews for this release

No reviews yet for this release.