Position (InvalidHexData property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:InvalidHexData:Position subtitle}} | |||
Position | |||
==Syntax== | ==Syntax== | ||
{{Template:InvalidHexData:Position syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 28: | Line 22: | ||
end try | end try | ||
</p> | </p> | ||
==See also== | |||
{{Template:InvalidHexData:Position footer}} |
Revision as of 20:42, 25 March 2011
Input string position where non-hexadecimal character found (InvalidHexData class)
Syntax
%number = invalidHexData:Position
Syntax terms
%pos | This numeric value is the position in the hexadecimal string where a non-hexadecimal character was found. Position is 0 if the exception was caused because the method object string contained an odd number of characters.
|
---|---|
%invHex | A reference to an instance of an InvalidHexData object. |
Example
The following statements catch an InvalidHexData exception and print its position:
%target is object invalidhexdata try %myobject:mymethod catch invalidHexData to %target Print '%target is ' %target:Position end try