At 06:19 PM 3/6/2011, waldo kitty wrote:
On 3/6/2011 16:46, Jeppe Johansen wrote:
A better idea, I think, is to use the old interrupt procedure directive. For
some embedded platforms simply allow also specifying a interrupt vector/index
after the interrupt keyword. Ex:

procedure USARTRxInterrupt; interrupt 10;
begin
// Handler code
end;

is that "10" meaning interrupt ten in decimal or sixteen in hex or two in binary? yeah, maybe a silly question but still one that needs to be asked and clarified so there's no confusion in documentation ;)

Sorry Mark, but it is absolutely clear that it is to be decimal, after all it doesn't have any base modifier, like

$10 for a hexadecimal number or
&10 for a octal number or
%10 for a binary number

as defined in the FreePascal docs (http://www.freepascal.org/docs-html/ref/refse6.html)

Ralf ;-)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to