Here is the dilemma. I created a function that checks if the items entered by the user are valid. If they are not valid the error message is written to a an external file via a specified dictionary.
So ...
Is it possible to pass the address of a dictionary item? ... for example - I have many items that are required [AGE], [SEX], [BIRTHMONTH] ... instead of writing error messages, if the user input is invalid, under each postproc, I want to call a function outOfScope($) which checks if the data is "invalueset($)".
the function will look something like this ...
Code: Select all
function outOfScope(alpha tmpItem)
if !invalueset(strip(tmpItem)) then
//code to write to file
endif;
end;
Anybody got any ideas or suggestions?
Thanks
Pierre