Solution - Case sensitive Program in Assembly
‎Jun 25, 2010
02:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jun 25, 2010
02:10 PM
Solution - Case sensitive Program in Assembly
Thanks Ron for the help! That's exactly what I was looking to do...I just wanted it to work whether they typed low or LOW...
Thanks!
Ted
See Ron's reponse:
In relations, you can certainly do the following:
IF SHIFTING == "LOW" | SHIFTING == "low"
D123 = 1
ENDIF
The "|" translates to "or".
However, this will not cover the case where someone responds with "Low"!
To the best of my knowledge, there isn't a function for what you want. If PTC had provided a TOUPPER or TOLOWER function like many languages, you could accomplish it, but I don't think they do.
Ron Thellen
CAD Administrator
Engineering & Manufacturing Applications
Government Communications Systems Division
Harris Corporation
321-729-7502
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Thanks!
Ted
See Ron's reponse:
In relations, you can certainly do the following:
IF SHIFTING == "LOW" | SHIFTING == "low"
D123 = 1
ENDIF
The "|" translates to "or".
However, this will not cover the case where someone responds with "Low"!
To the best of my knowledge, there isn't a function for what you want. If PTC had provided a TOUPPER or TOLOWER function like many languages, you could accomplish it, but I don't think they do.
Ron Thellen
CAD Administrator
Engineering & Manufacturing Applications
Government Communications Systems Division
Harris Corporation
321-729-7502
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Labels:
- Labels:
-
General
0 REPLIES 0