Re: Difference between noditerator.movenext and...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



>> ni.movenext.tostring
>
> This won't compile anyway.

Huh. VS.net is letting it compile for me. Odd.

> MoveNext() method moves iterator to a next node and returns boolean
> meaning true - success, false - no more nodes.

Ah! It returns a boolean. That explains what it's doing! Thanks.

> In .NET 2.0 you can use XPathNavigator().SelectSingleNode() method to get
> XPathNavigator directly.

That will be nice.

-Darrel


.



Relevant Pages

  • Re: Detecting type of variable ?
    ... The mBooleanTypeIs solution code does not compile, ... {$IFDEF BOOL_DOUBLE} ... TBoolean = Boolean; ...
    (alt.comp.lang.borland-delphi)
  • Re: Detecting type of variable ?
    ... The mBooleanTypeIs solution code does not compile, logically a boolean value can not be assigned to a double or vice versa... ... Since Booleans aren't assignable to Doubles, and Doubles aren't assignable to Booleans, you need to make sure that the compiler never even tries to compile such assignments. ... {$IFDEF BOOL_DOUBLE} ...
    (alt.comp.lang.borland-delphi)
  • Re: Confusion with templates, generics, and instanceof
    ... This does compile, but overloads equalsnot overrides it. ... public boolean equals(Object o) ... FooWrapper f = o; ... Anyone know why getFoo, which returns type T, needs a cast?) ...
    (comp.lang.java.programmer)
  • Re: Why no Ada.Wide_Directories?
    ... primitive operations would mean a performance loss. ... cost of separate compilation, and thus also at the cost of dropping any ... you can tell whether a procedure is dispatching at compile time ... There would be some overhead when converting a Boolean to Boolean'Class. ...
    (comp.lang.ada)
  • Re: Java vs C++, A Newbies perspective.
    ... Provided that x and y are boolean variables, the assignment is a boolean expression. ... The following code will compile in Java: ... accidental assignment in place of a comparison. ...
    (comp.lang.java.programmer)