首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > VFP >

Vfp 9.0 Fix - Macro Substitution解决办法

2012-03-06 
Vfp 9.0 Fix - Macro SubstitutionHello everyone:In vfp9, the procedure size can greater than 64KB.Th

Vfp 9.0 Fix - Macro Substitution
Hello everyone:

  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_bigprogram

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

  RETURN

  * END OF PROC TESTMACRO_BIGPROGRAM.

  The size of the procedure testmacro_bigprogram 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 ...


More details please refer to:

Vfp 9.0 Fix - Macro Substitution
http://www.baiyujia.com/vfpdocuments/default.asp

source code download:
http://www.baiyujia.com/f_download.asp



[解决办法]
谢谢告知
[解决办法]
多谢!
[解决办法]
OK,谢谢
[解决办法]
没明白,EN文不好,是不是vfp有漏洞。要打上哪个补丁?

热点排行