Error Messages/40861

< Error Messages
Revision as of 22:47, 5 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = Bad value passed to the <<return>> parameter of FindInText: "a". When specified, it must be 'P', 'L', 'S', or '#'. = Cause = The '''return''' …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

Bad value passed to the <<return>> parameter of FindInText: "a".
When specified, it must be 'P', 'L', 'S', or '#'.

Cause

The return parameter to the FindInText function, while searching for regular expression, can be specified to one of the following values to specify the return type.

P or Position -> Position of the matched subpattern. L or Length -> Length of the matched subpattern. S or Subpattern -> Matched subpattern. # or #Subpattern -> Number of matched subpattern.

You can also get back an array of a subset of above return types. The following is an example taken from the User Guide:

FindInText('d.*T', 'FindInText', re:1,return:['L','S']) -->> [4,'dInT']

Remedies

Correct the return parameter to the FindInText function to a recognized value.



You are not allowed to post comments.

Comments
<comments />