cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Rkadapt This Function Cannot Be Used Here

astevenson-2
1-Newbie

Rkadapt This Function Cannot Be Used Here

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

4 REPLIES 4

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.

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

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

Thanks Stuart.

Top Tags