What about F1(LowerCase(Value))... UpCase does not have a corresponding function that I am aware of (for lowercase).
Main Topics
Browse All Topics
I have a function named F1, which accepts and returns a char. I must call this as shown below, but the "uppercase" function makes value a string and is therefore incompatible. What is the best way to convert to uppercase as shown below, then convert to a char field (value is always 1 byte) to pass to the function?
Function F1(Ch : Char) : Char;
--------
F1(UpperCase(Value))
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
1) you can easily write your own function
// dirty example:
function LowCase( Ch : Char ) : Char
begin
if Ch in ['A'..'Z'] then Result := Chr( Ord( Ch ) + $20 ) else Result := Ch;
end;
2) what is the practical usage of two-way conversion ? if you going to compare some set of keywords or commands in your program usually it is enough to convert them to unique case, does not matter which one :)
Thanks for all the different opinions, I should have asked sooner rather then spending hours trying to get a workaround on this :) I thought I already tried the index option on the string, but I must have had something else wrong when I tried this, as I just attempted this again based on your post and it worked without a problem. Thanks again everyone. :)
Business Accounts
Answer for Membership
by: Alisher_NPosted on 2003-02-16 at 19:23:59ID: 7963432
try UpCase() instead