Re: 4GL *** UPSHIFT Function for 4GL available *** 4GL
Posted in 1996
tschaefe@gate.net (Tim Schaefer) wrote: There is already an UPSHIFT and DOWNSHIFT function in 4GL, why would you write another one? >Somebody posted an article looking for a way to UPSHIFT ( toupper ) a >string, in 4GL. I found the article on our news server at work, but can't >find it on cybergates', so I'll just post this here and hope the right >people catch it. > >I had the need to UPSHIFT a string just last week, so I made one in C. >It's very simple, so anybody should be able to use it. > >At my home page there's a C-language UPSHIFT function (as well as a few >other tools) to link in with a 4GL function. A sample 4GL program is also >included to illustrate using it. It is for strings. You pass it a string >and it UPSHIFTS the whole string. This is not a complicated artificial >intelligence engine, scanning the string and avoiding already UPSHIFTED >characters. It just does the whole string no matter what. It uses the >toupper() C-language function. You can copy this function and create >a tolower function as well. > >Hope this can be of help! > >goto http://www.gate.net/~tschaefe > >Look on the NEWS and UPDATES page. > >Enjoy! > >Tim > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Gordon E. Hooker MACS PCP 25 Clarke Street Ripley Queensland Australia Phone 61-7-32940555 Email gordonh@acslink.net.au _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ It is far far better to remain silent and appear a fool then to open ones mouth and remove all doubt. Anon.