View Full Version : DF20 functions
Edgar H. Peņa C.
7-Dec-2021, 07:34 AM
hI ALL
In DF20
We must change the functions
move (functionName (p1, p2)) to nRes
by
get functionName p1 p2 to nRes ?
Edgar
Samuel Pizarro
7-Dec-2021, 07:43 AM
If the functions are global : you can use get or move styles.
If the function is a class method: you should use the get syntax!
But this is for all df releases. Its not new to df 20!
Bob Worsley
7-Dec-2021, 07:46 AM
If the function is a class method: you should use the get syntax!
Or if not global you could use
move (functionName (self, p1, p2)) to nRes
Edgar H. Peņa C.
7-Dec-2021, 08:10 AM
thanks SAmuel/Bob
Don't use the move syntax for class functions...
https://support.dataaccess.com/Forums/showthread.php?67995-Ambiguous-Function-Clarification-needed
Yes, you can.
No, you shouldn'tttt
--
Wil
Bob Worsley
7-Dec-2021, 08:43 AM
I guess I missed that memo, I'll keep it in mind thanks
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.