CASE
STRING FIRST_5 = 5
STRING LAST_5 = 5
END VARIANT
END RECORD
In the sample above, FIRST_5 will return and/or set the first 5 characters
of BUF and LAST_5 will return and/or set the last 5 characters of BUF.
Since I'm porting from VMS to VB 6, which doesn't support this construct
easily, and now to VB.Net, I was hoping for a cleaner solution than I had to
implement in VB 6.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.