PRB: EVALUATE() and Exponentiation Cause Error Message

ID: Q121211

The information in this article applies to:

SYMPTOMS

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.

CAUSE

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.

RESOLUTION

There are four ways to work around this problem:

MORE INFORMATION

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