When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
written code:
begin
string s_FileName = "c:/Users/Gustavo/AppData/Local/Temp/ins2014%20(3).xml";
string a_Notes = "aNote";
string a_VINs = "aVINs";
string a_Codings = "aCodings";
string s_SearchNotel1 = "\\DATA\\VINSWITHSAMENUMBERS";
string s_SearchNotel2 = "\\DATA\\VINSWITHSAMENUMBERS\\NUMBERS";
string s_VINs = "";
string s_Parameters = "";
string s_CalEcuNameINS = "INS";
string s_VinIns = "9BM958471GB033217";
integer i_Button = -1;
integer i_Result = -1;
integer 1_Position = -1;
integer i_SizeArray = -1;
integer i_Counter = 0;
Display_OpenDialog();
Display_Text(1, "");
Array_Set(a_Notes, s_SearchNote1);
i_Result = XML_GetNodesData(s_FileName, a_Notes, a_VINs);
Array_Delete (a_Notes);
Array_Set(a_Notes, s_SearchNote2);
i_Result = XML_GetNodesData(s_FileName, a_Notes, a_Codings);
i_SizeArray Array_GetSize(a_VINs);
while (i_Counter < i_SizeArray)
begin
s_VINs Array_Get(a_VINs);
i_Position = N_SearchString(s_VINs, s_VinIns, 1, 0);
i_Counter = i_Counter + 1;
end
s_Parameters Array_Get(a_Codings, i_Position);
Array_Delete (a_Notes);
Array_Delete (a_VINs);
Array_Delete (a_Codings);
return -1;
end```
Whata are you stuck on?
I'm migrating to c++ recently and I really don't know how to resolve the issues, I'm trying to find a library or something to access the xml
xml file content:
With this code and the xml file I need to answer these 2 questions:
What is the content of a_VINs and a_Codings?
What is the value of s_Parameters?