4GL *** UPSHIFT Function for 4GL available *** 4GL
Posted in 1996
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