on 11-21-2014 2:48 PM
I've upgraded to ESP 5.1 SP04 PL03 on the server side of things (but not my Studio on Windows) and am getting messages about copyRecord having been deprecated. I understand these are likely warnings, as my project still compiles, runs and does what I want it to do. However, I've struggled to find a replacement for this function going forward?
What should I use, going forward, to make a copy of a SPLASH record (not a copy of the variable) if copyRecord is deprecated?
Thanks,
Michael
Hi Michael,
This error message is, as you suspected, just a warning.
The replacement for this is to use the assignment operator. You can assign a record to another record, for example:
rec2 := rec1;
Making a copy of the variable is the same as making a copy of the record.
I've created 2 change requests, one to modify the error message and the other to clarify the documentation.
CR 774878 - copyRecord function is deprecated - make changes to error message 161298
CR 774880 - copyRecord function is deprecated - make changes to documentation
Thanks,
Alice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.