Searching character items for escape (non-printable) characters
Karl Pohl
kpohl@earthlink.net
Wed, 24 Mar 1999 09:40:23 -0800
Here is the code for searching for this character in your text :
def c1 int size 2 = 13 (this is the integer equ. for the escape character
youa re looking for)
def c2 char size 1 = char(c1)
def string char size 10 = "test test"
def c3 int size 2 = index(string,c2)
where string is the complete line where your escape character could be ---
you have to define all escape characters which might possible be in the file
in c3 you will have the position in your string which contain the escape
character --
Karl Pohl
Tony Gil wrote:
> I'm currently running QUIZ v6.09 (soon to be upgraded) and we are
> currently converting our order entry system. As part of the conversion
> process, we are building ascii files of various datasets. One problem
> that I'm running into, is the presence of escape characters (or
> non-printable) characters within character fields.
>
> What function can I use to check for the presence of such characters?
> Perhaps the CHARACTERS() function? Thanks in advance.
>
> -Tony Gil
> Programmer Analyst
> 20th Century Plastics
> 205 South Puente Street
> Brea, CA. 92821
> voice: (714) 441-4500 ext. 2357
> fax: (714) 441-4536
> email: tgil@20thcent.com
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.