Page 1 of 1

C++ functions in C routine

Posted: Mon Aug 07, 2006 4:01 pm
by legendkiller
Hi,

Can expression file of transform operator supports C ++ function. Documentation says that it supports C function but I need information about C++ function.

Thanks

Posted: Tue Aug 08, 2006 1:27 am
by Kirtikumar
What kind of function you are trying to use?

When u r using transformer, my gut feeling says that it will throw compile error warning if u use any such functions.
reason: when the transformer is compiled, PX first converts the current code into C++ code and then C++ compiler comes into picture. So even though there are funtions like StringToDecimal shown in transformer, these are converted to internal functions like decimal_from_string function by PX and then C++ compiler comes into picture and compiles these functions.

This is just a guess and may be correct or may not be.