inline if statement in programming loop
Oct 30, 2024
04:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2024
04:02 PM
inline if statement in programming loop
Hi,
I have an old MCAD 15 program I am finally converting to prime. Is there a short efficient way to implement those if statements in prime? That VP is an intermediate variable used further down in the program. Below is a snip showing the if statements.
thanks,
russ
Solved! Go to Solution.
Labels:
- Labels:
-
Programming
- Tags:
- prime
- programming
ACCEPTED SOLUTION
Accepted Solutions
Oct 30, 2024
04:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2024
04:31 PM
5 REPLIES 5
Oct 30, 2024
04:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2024
04:31 PM
Are any of these options of interest, Russ?
Stuart
Oct 31, 2024
10:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 31, 2024
10:52 AM
Very nice, thank you!
Oct 30, 2024
04:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2024
04:50 PM
Another option is:
But why don't you use the legacy converter?
Success!
Luc
Oct 30, 2024
08:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2024
08:22 PM
Or even just the dot (scalar) product ...
Stuart
Oct 31, 2024
10:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 31, 2024
10:52 AM
Thank you, very interesting. Also, I was ignorant of the converter - thank you!
