Russell McDougall
28-Nov-2019, 03:00 AM
This is probably a dfreports issue but it shows up in 20 after a did a dfreport library import
cPrintDialog.pkg from Dataflex reports 7.0
Compile error message is "Conversion from string to Pointer is not allowed use memcopy function
In any case the move to aChar does not make sense
appears in both 32 Bit and 64 Bit compiles
// Convert a string to a fixed length char array
{ Visibility = Private }
Function StringToCharArray String sValue Integer iLength Returns UChar[]
Address aChar
UChar[iLength] uChars
Move (AddressOf (uChars)) to aChar
Move sValue to aChar < Results in compile error
Function_Return uChars
End_Function
cPrintDialog.pkg from Dataflex reports 7.0
Compile error message is "Conversion from string to Pointer is not allowed use memcopy function
In any case the move to aChar does not make sense
appears in both 32 Bit and 64 Bit compiles
// Convert a string to a fixed length char array
{ Visibility = Private }
Function StringToCharArray String sValue Integer iLength Returns UChar[]
Address aChar
UChar[iLength] uChars
Move (AddressOf (uChars)) to aChar
Move sValue to aChar < Results in compile error
Function_Return uChars
End_Function