CompuServe Thread

Convert char

7 messages in this thread
#33901From: Henry WilliamsApr 3, 1993 11:35 AM
Hello, Can someone tell me how I can keep a letter in lowercase after the pull command? Any letter I type in this program ALWAYS comes out with the uppercase value. Obviously not what I need. /* ARexx Convert argument */ say "Type character to be converted." pull char say " Character Decimal Hex Binary" say ' 'char' 'c2d(char)' c2x(char)' 'c2b(char) Thanks for the hand…..Henry Williams
#33950From: Bill HawesApr 5, 1993 8:37 AM
Henry, The ARexx PULL instruction is a shorthand for PARSE UPPER PULL, so it always converts characters to uppercase (see p. 36 of the ARexx manual.) You can use the PARSE PULL instruction to preserve the case of the characters. -Bill Hawes
#33969From: Henry WilliamsApr 5, 1993 7:32 PM
re: Parse upper pull…..Thanks Bill Regards Henry
#34003From: SyndesisApr 6, 1993 9:27 PM
What's the latest version of ARexx and Wshell, for those of us who bought it as an add-on?
#34046From: Bill HawesApr 8, 1993 8:09 AM
The current version of ARexx is V1.15, and the WShell software is WShell 2.0. -Bill Hawes
#33991From: Alex GianApr 6, 1993 4:07 PM
Henry It's really simple, the PULL instruction is in fact "shorthand" for PARSE PULL UPPER. If you do not want the uppercase conversion, use: PARSE PULL char instead of: PULL char It seems to me that what you need is some decent ARexx docs. Alex
#34055From: Henry WilliamsApr 8, 1993 3:13 PM
Thanks for the hand Alex. You are probably right about needing a good Arexx book to learn from. Presently I'm putting most of my time into learning C now. Arexx will be next. Regards Henry