- Upvotes Received
- 7
- Posts with Upvotes
- 5
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
Re: > The statement "`xeElements[i].GetChildrenByTagName("ns1:Status")[0].TextContent`" gives me the variable value "`End`". makes sense to me. To get the ID of the status likely you need something like: xeElements[i].GetChildrenByTagName("ns1:Status")[0].GetAttribute("Id") (Based on intuition and http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getattribute, because I never have worked with Gambas ...) | |
Re: If your question about using functions could be (more or less) translated into 'how can I change this big switch with little overview into a switch with good overview using calls to (selfmade) functions' ...., then this could be step 1 (leading to not compiling/working code!) #include<stdio.h> #include<stdlib.h> #include<math.h> #define … | |
Re: If indentation somehow is not an option try show-paren-mode in emacs (or something related in eclipse, vi, vim, notepad++, or whatever ...). | |
Re: I'm not sure whether I get your question right, so I wonder whether below is the answer you are looking for. switch (c) { case 'q': exit(0); /*quit */ case 'e': printf("Edit what?:" ); scanf("%s", s); strcpy(cmd, "pico"); // ¿ No need to use a space between the command and … | |
Re: Are you sure about `<proper price>$4</price>`? To me it seems to violate the basic XML rules .... A 'decent XML' tag could be `<proper_price>$4</proper_price>`, or `<price type="proper">$4</price>`. Also when a closing tag is missing it should be made 'known' by using `<comp score="9.0"/>` (known as "implicit closing tag") instead of … | |
Re: Use of `Select Case` as mentioned by xrj might be enough to find the issue. (Although I wonder about the use of `ctrl.GetType` versus `subCtrl.GetType`. Perhaps it's xrj's attempt to force you to think for yourself ....) But I think it doesn't matter whether you prefer `Select Case` or `if … | |
Re: Although the advises (to use functions and to make the code flexible) are great, I think the issue with the original code isn't explained. int num = 0; So num is initialized at 0. while( (cont=fgetc(file))!= EOF ){ if(cont == '\n') num--; } So num will always be zero or … | |
Re: At least ,[OUt Of],[Percentage] [Result] [Dice Code Of The Last School]) should be changed into ,[OUt Of],[Percentage] , [Result] , [Dice Code Of The Last School]) (Additional spaces to make it easier to find the differences ....) Are you sure the field/column name is `OUt Of` instead of `Out Of`? | |
Re: Google results depend allways on the country from which you are searching/querying (logged in at internet). If you really need the US results you have to use an intermediate US computer which acts as a server to your Excel and as a client to google. |
The End.