Go to the first, previous, next, last section, table of contents.


|charPosition

Function: |charPosition { [] string -> [] i-or-nil }
file: job.t
package: muf
status: alpha

(This is a specialized compiler-support function.)

Search the contents of the block for an integer value corresponding to one of the characters in string. If such a value is found, return the integer offset of the first block location in which it is found; Otherwise, return nil.

Integer values in the block above 255 are ignored. So are values between double quotes.

The block will normally be ascii integer codes such as produced by |backslashesToHighbit, but may also be a simple block of characters.


Go to the first, previous, next, last section, table of contents.