ID: Q121211
The information in this article applies to:
When placed in a stand-alone executable (.EXE) file, the EVALUATE() function in combination with the exponentiation symbol (^) causes a "Feature Not Available" error message.
The problem seems to lie in the Distribution Kit compiler. The library file code bundled within the stand-alone executable file does not contain the proper code to execute the EVALUATE() function in conjunction with the exponentiation.
There are four ways to work around this problem:
-or-
-or-
x=4
IF .f.
x=x^4
ENDIF
a="(x-2)^4"
? EVALUATE(a)
WAIT WINDOW
-or-
NOTE: The addition of PROWORDS.FXD causes FoxPro to report an error during the compilation of the executable file. This error is not significant. Simply ignore the error to complete the creation of the stand-alone executable file.
To duplicate the problem, create a program file with the following code:
x=5
a="(x-2)^4"
=EVALUATE(a)
WAIT WINDOW
When the application runs as a stand-alone executable file, the "Feature
Not Available" error message appears. However, an application (.APP) file
executes correctly. Furthermore, a compact executable file also functions
properly.
Additional reference words: FoxDos DK 2.60 standalone KBCategory: kbother kberrmsg kbprb KBSubcategory:
Last Reviewed: August 28, 1995