Hi everyone

I have a problem returning a character string from R to Amibroker. This will 
include dates. The example appears on page 6 of rMath manual and should be 
simple. 

// Numeric works fine
RMathProcedure("RandomVarA=123.45 + 7.8");
aa=RMathGetValue("RandomVarA");
printf("\nRMath numeric Return Value: " + aa);  // answer correct 131.25

// String does not work
RMathProcedure("RandomVar=<DQ>Abcde<DQ>");
bb=RMathGetValue("RandomVar");
printf("\nRMath alpha Return Value: " + bb); //garbage instead of Abcde 

Any help will be welcome.
Con  


Reply via email to