Page 9 of 9
Some warnings and error
Posted: Thu Feb 06, 2020 6:17 pm
by Chris
Hi Horst,
Yes, it's the same with Empty(), or to be more precise a test against an empty string, so
IF c == ""
(because Empty(c) would return TRUE also with a string consisting of only a few spaces)
Some warnings and error
Posted: Thu Feb 06, 2020 7:14 pm
by wriedmann
Hi Horst,
I'm pretty sure there will be functions around that can to that UnEscape() in plain .NET code.
In .NET there is no problem at all to convert a string in an array of bytes or an array of characters (attention: this is not the same in a Unicode world!).
Wolfgang
Some warnings and error
Posted: Fri Feb 07, 2020 7:36 am
by Horst
Hallo Chris and Wolfgang
I will use c=="" because its a function from CAVO and i dont know what its realy doing. i was looking for 'unescape c#' and i dont know witch one of the found result is the one i need
And lines like -> IF pb
= 0x25 is not my world
Thanks
Horst
Some warnings and error
Posted: Fri Feb 07, 2020 7:57 am
by Horst
And already the next question.
i have a class and this class is using the FUNCTION _fmtReal() and now i have 81 warnings XS9066 when i compile that.
i dont like warnings
0 warnig's is perfect nothing else. i understand that warning but i wanna not see that , because is nothing wrong with the code. its only a hint/tipp
How turn this off ?
BTW i tryed VS and Xide and the winner is Xide
What i am missing is the parameter list when the mouse is on a function. it only comes Strtran (..)
Horst
Some warnings and error
Posted: Fri Feb 07, 2020 8:20 am
by Chris
Horst, can you please show us the lines of code in which you get the warnings?
Some warnings and error
Posted: Fri Feb 07, 2020 8:43 am
by Horst
Hallo Chris
While i was looking for the code to send . i found that this function is two times in the program. Once as static in the PDF Class Prg and once in the PDF Function Prg. I removed now the static and it works.
About the Xporter. he doesnt make a viaef ? First i was moving the libary and now i wanna add the program. but i cant import it. shoud i have to make a new project first and then moving it to my first project ?
Horst
Some warnings and error
Posted: Fri Feb 07, 2020 8:55 am
by wriedmann
Hi Horst,
the XPorter makes the source (prg) files.
With the newest version (that was not yet delivered) you can even move single modules (from MEF, PRG or even from the clipboard). So you will be able to overwrite single prg files of your X# project.
I like that possibility because it makes migrations much, much easier.
Wolfgang
Some warnings and error
Posted: Fri Feb 07, 2020 9:47 am
by Horst
Hi
I had to go to Project->Add existing and then Add Application. This works like a AEF Import in Cavo.
Some warnings and error
Posted: Sat Feb 08, 2020 6:23 am
by wriedmann
Hi Horst,
if you are doing a continuos migration, you can use your XIDE application folder as target for XPorter.
Please llok at the XIDE folder structure, and you will see that every aplication/library has its own folder where all the prg files are located.
If your project folder is c:XIDEProjectsMyProject, your application "MyApp" is located in c:XIDEProjectsMyProjectAplicationsMyApp. Then you can use the folder c:XIDEProjectsMyProjectAplications as target folder for your migration and then add your application from the correct location and keep all your code in the correct folder structure.
Wolfgang