Code: Select all
using namespace std;
#include <iostream>
#include <string>
char* return_value(char* Arg1,char* Arg2,char* Arg3,char* Arg4)
{
char* TmpVal = NULL;
if (Arg1 != NULL)
TmpVal = Arg1;
else
if (Arg2 != NULL)
TmpVal = Arg2;
else
if (Arg3 != NULL)
TmpVal = Arg3;
else
if (Arg4 != NULL)
TmpVal = Arg4;
else
TmpVal = NULL;
return (TmpVal);
}
APT_CombinedOperatorController,0: Field 'ARG1' from input dataset '0' is NULL. Record dropped. [transform/tfmop_functions.C:130]
Any ideas?
BTW, my current version of the PARJDEV.pdf doc doesn't seem to have a chapter on custom routines. Did they write a seperate doc to cover custom routines?
Thanks in Advance.[/code]