Alright.. I figured that one out too.
Here is what it would look like.
string taxcode
string taxtest = "XX"
proc main
termgets 9 31 taxcode 2 ;gets row 9 column 21 for 2 chars
if rstrcmp taxcode taxtest 2 ; test see if the first 2 character of taxcode match the first 2 caracters of...
Ok.. I figured it out.. but now i don't know how to compare string variables... Here is the code I figured out
termgets 9 31 taxcode 2
This captures the Tax Code, but now I need to be able to find out if taxcode = "XX" and I don't know how to do that..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.