Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Why am I getting the "This function cannot be used here." error. My constants have no units.
Solved! Go to Solution.
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.
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.