Frank Heckenbach wrote:
: @example : @{ Port access functions @} : function InPortB (PortNumber: ShortWord): Byte; : function InPortW (PortNumber: ShortWord): ShortWord; : procedure OutPortB (PortNumber: ShortWord; aValue : Byte); : procedure OutPortW (PortNumber, aValue: ShortWord); : @end example
I wouldn't recommend it. The port functions are the (only)
^^^^ Whoa this demonstrates what a lucky guy I am.
nonportable unit that comes with GPC, so it's not a good example. I suggest:
[...]
Inserted.
function LastPosTillCase (const SubString, s: String; Till: Integer): Integer;
You might also want to put only a space between "function" and the function name. (I know you won't do this in the actual source because there probably is some "procedure" but I'll do it in the manual.)
Best wishes,
Nick