Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 20 JAN 2004 04:08:37PM ps wing wrote:

Hello,

We have OI 4.1 and are trying to get a simple input validation subroutine working.

ie. we add TEST_CONV as the validation pattern, code as follows:

TEST_CONV (CONV, ANS, BRANCH, RETURN_DATA)

STATUS()=0

RETURN_DATA=HERE"

RETURN

Hoping this might overwrite any user response with the word "HERE"

But no luck, why….?


At 20 JAN 2004 04:17PM Richard Hunt wrote:

If I remember correctly… the "ICONV" will not execute a UDC if the value to be converted is NULL.


At 20 JAN 2004 04:50PM ps wing wrote:

Thanks, I read this elsewhere, but Im not converting a null, just trying to override the entered value with a litteral as a test.

Works in Arev (of cause) perhaps it works in OI 16 too?


At 20 JAN 2004 05:51PM Richard Hunt wrote:

Ok then… I believe if you use the "conversion" rather than the "validataion" you will get the desired results.


At 20 JAN 2004 06:17PM ps wing wrote:

Yeah, oconv works, iconv doesnt, bit annoying.


At 21 JAN 2004 06:32AM Oystein Reigem wrote:

PS

Validation and conversion in OI do slightly different jobs than their counterparts in Arev. I think there are ancient postings describing this in detail. I believe you have to specify Conversion in addition to Validation to get what you want. Put TEST_CONV both places.

- Oystein -


At 21 JAN 2004 04:43PM ps wing wrote:

Okay. A shame really.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/b1014022998501dc85256e2100742539.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1