Skip to main content
1-Visitor
Aug 27, 2015 6:33 PM UTC
Solved

Rkadapt This Function Cannot Be Used Here

Why am I getting the "This function cannot be used here." error. My constants have no units.

23-Emerald V
Aug 27, 2015 6:41 PM UTC

Andy Stevenson wrote:

Why am I getting the "This function cannot be used here." error. My constants have no units.

Because you have ORIGIN = 0 but are using ORIGIN = 1 indices.  Either decrement you indices or change your ORIGIN.

Stuart

PS. Forgot to add .. you must define ORIGIN before the start of the Text region that has the equations embedded in it, as the start of the Text region defines the scope of the embedded equations and not their vertical positions in the worksheet.

4 replies

23-Emerald V
Aug 27, 2015 6:41 PM UTC

Andy Stevenson wrote:

Why am I getting the "This function cannot be used here." error. My constants have no units.

Because you have ORIGIN = 0 but are using ORIGIN = 1 indices.  Either decrement you indices or change your ORIGIN.

Stuart

PS. Forgot to add .. you must define ORIGIN before the start of the Text region that has the equations embedded in it, as the start of the Text region defines the scope of the embedded equations and not their vertical positions in the worksheet.

Translate
1-Visitor
Sep 2, 2015 6:43 PM UTC

The error message was a bit esoteric. Reminds me of ubiquitous FORTRAN SYNTAX error.

Translate
23-Emerald V
Sep 2, 2015 8:23 PM UTC

Andy Stevenson wrote:

The error message was a bit esoteric. Reminds me of ubiquitous FORTRAN SYNTAX error.

Hah!  I haven't seen one of those in years! 🙂

Stuart

Translate
1-Visitor
Aug 27, 2015 6:46 PM UTC

Thanks Stuart.

Translate