02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BACK (optional) must be of type logical.<br />

Result type/<br />

type parameters<br />

Default integer.<br />

Result value<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

Case 1 If BACK is absent or present with the value .FALSE. and if STRING contains<br />

at least one character that is not in SET, the value of the result is the<br />

position of the leftmost character of STRING that is not in SET.<br />

Case 2 If BACK is present with the value .TRUE. and if STRING contains at least one<br />

character that is not in SET, the value of the result is the position of the<br />

rightmost character of STRING that is not in SET.<br />

Case 3 The value of the result is zero if each character in STRING is in SET or if<br />

STRING has zero length.<br />

XOR(I, J)<br />

Description<br />

Bitwise exclusive OR.<br />

Class<br />

Elemental nonstandard function.<br />

Arguments<br />

I must be of type integer.<br />

J must be of type integer with the same kind type parameter as I.<br />

Result type/<br />

type parameters<br />

Same as I.<br />

Result value<br />

The result has the value obtained by performing an exclusive OR on I and J bit-by-bit<br />

according to Table 11-9.<br />

Chapter 11 603

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!