24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language 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.

<strong>Language</strong> <strong>Reference</strong><br />

12.3.7 Type Conversion: Character conversion to integer<br />

Name:<br />

ICHAR<br />

Notes:<br />

Usage:<br />

I ←ICHAR(CH)<br />

ICHAR returns an integer which describes the position of the character in the<br />

processor collating sequence. The first character in the collating sequence is in<br />

position 0 and the last character of the collating sequence is in position n−1 where n is<br />

the number of characters in the collating sequence. The value of ICHAR(X) for X a<br />

character of length one is such that 0

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

Saved successfully!

Ooh no, something went wrong!