Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi,
The creation of x makes it a range variable not a vector of scalars. An undocumented trick to turn the range into a scalar vector is to use inline equals in the definition.
Hi,
The creation of x makes it a range variable not a vector of scalars. An undocumented trick to turn the range into a scalar vector is to use inline equals in the definition.
I have a question here: can this undocumented trick fail? And if yes, then when can it fail?
Never had the trick fail. Here is the "correct" way
It will fail if PTC at some point, in a later version of Prime, makes it impossible or unusable.
So far that hasn't happened, but there's so much that hasn't happened with, or by, PTC over the past more than 10 years.... the chance that things will happen can only grow over time.
Success!
Luc