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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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.

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.

Announcements

Top Tags