Is this what you are trying to do?
INPUT VALUE
IF (VALUE = "?") THEN
PRINT "QUESTION MARK FOUND"
END
If PRINT doesn't display the screen, then somewhere before the input a PRINTER ON or SP-ASSIGN was likely issued. You can always print to screen by use:
CRT "QUESTION MARK FOUND"
instead of
PRINT "QUESTION MARK FOUND"
-Nathan
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/998b8cb0-8ff2-446e-a3b1-5f5cb2c1ffbfn%40googlegroups.com.
-- -------------------------------------------- Nathan Rector International Spectrum, Inc http://www.intl-spectrum.com Phone: 720-259-1356
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/4d04057f-2705-dbe1-2c7b-e99374e42b69%40intl-spectrum.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/CAHSdQ0KWkM58u8yJ%3DJ9eeaDsNT1XHuNXFj1%3D4Kxm%2B3HNccXhyA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/CAJDLGm7spcHpOina3FdGFD7vhwXLiw00Dx5J%3Dvntcn1LtMJrOA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/CAHSdQ0JCwtpGOXYrCttOA3BvkLfa6Wf-MpqwizVsaUrrpM4wHg%40mail.gmail.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/alpine.LRH.2.21.2201101008350.12797%40sidewinder.deltasoft.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/alpine.LRH.2.21.2201101015430.12797%40sidewinder.deltasoft.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/e0daf14d-aded-0210-0649-591185dd9832%40youngman.org.uk.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/CAHSdQ0KXs15XABXuQwnXPR1FY%2Bu%2BHFPfvDii5en5ktUpx_a0Bw%40mail.gmail.com.
On Jan 10, 2022, at 2:52 PM, Jackson Ramos <jackso...@qualco.com> wrote:
George,
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/463d947c-9721-47c6-9b37-ef860e3ed005n%40googlegroups.com.
Rather than DESC[1,1] (assuming that the input is supposed to be just a
question mark) I'd use TRIM(DESC). You're assuming they may accidentally
have typed garbage after the question mark, TRIM will remove anything
either side rather than just checking the first character.