Well I just finished implementing my own high performance unit for timing
and timeouts etc... using bios tick count and pit tick count...
thx to some large document ;)
So I thought I'd now give your stuff a look/try :)
But ehm... it seems your website is locked... unable to view/download code
et
04-03-21 16.56, skrev Thomas Schatzl följande:
> Hello,
>
x := pos ('Hello', my_str, 6);
>>>
>>> PosEx() from strutils?
>>
>> Cant find it in strutils..
>
> Just checked the sources again, at least the 1.9.x branch contains a PosEx
> method, line 93ff, from today's sources =)
Sorry I bot
> >>> x := pos ('Hello', my_str, 6);
> >>
> >> PosEx() from strutils?
> >
> >Cant find it in strutils..
>
> Just checked the sources again, at least the 1.9.x branch contains a PosEx
> method, line 93ff, from today's sources =)
I implemented some files last weeks in the *utils category.
Not ever
Hello,
>>> x := pos ('Hello', my_str, 6);
>>
>> PosEx() from strutils?
>
>Cant find it in strutils..
Just checked the sources again, at least the 1.9.x branch contains a PosEx
method, line 93ff, from today's sources =)
Regards,
Thomas
___
fpc-pasca
04-03-06 11.25, skrev Thomas Schatzl följande:
>> I would love to see a "pos" function that takes an additional parameter,
> being the position in the string where it >should START scanning. e.g.:
>>
>> my_str = 'Hello, everybody... Hello, world!';
>>
>> //123456789012345678901
>>
>> x
Hello,
I'd like to ask if anyone knows a tool which can automatically generate
PasDoc documentation headers for existing source code. E.g. adding all tags
and probably default dummy values to all method declarations which can to be
filled in by the programmer afterwards. Copy&paste has proven to
Hello,
> > So a computer calling an interrupt routine a million times (for
microsecond
> > accuracy) that does not seem like a good idea performance wise.
> >
> > Also calculating the control word (?) can be inaccurate (?):
control_word
> > := $1234DD div frequency; ( ??? what about the remainder
Jonas Maebe wrote:
The problem is simply that "readln" is split into "read" and
"readline_end". The former reads whatever you want to read, the latter
consumes the end-of-line. The ioresult is checked after both
operations. If the read already returned an error, then an exception
will be raise
On 21 mrt 2004, at 14:56, kractor wrote:
begin
readln(A);
NewAlbum.Year:=StrToIntDef(A,0);
write('label: ');
readln(NewAlbum.alLabel);
write('tracks: ');
readln(NewAlbum.NumTracks);
This avoids the exception.
just wondering if there's been any progr
> > >
> > >Compiling usb_h.pp
> > >Assembling usb_h
> > >45 Lines compiled, 0.0 sec
> >
> > Constants > maxlongint are not supported in 1.0.x. You need to use 1.9.x
>
> Ah, I see.
1.9.3 is in the ports tree as fpc-devel
___
fpc-pascal maillist - [EM
Am So, den 21.03.2004 schrieb Peter Vreman um 14:45:
> At 14:29 21-3-2004, you wrote:
> >Hi!
> >
> >Using fpc 1.0.10 on FreeBSD ig do this:
> >
> >USB_DO_REQUEST : longword = 3222820207;
> >
> >and the compiler says:
> >
> >usb_h.pp(43,39) Error: Illegal expression
> >
> >Why thar? The maximum valu
Michael Van Canneyt wrote:
I have been able to reproduce this. However, I'm not sure what the cause
it. My guess is that the end-of-line is not consumed before the
exception is raised, and therefore the
readln(NewAlbum.alLabel);
line gets an empty input line. Delphi does consume the end-of
At 14:29 21-3-2004, you wrote:
Hi!
Using fpc 1.0.10 on FreeBSD ig do this:
USB_DO_REQUEST : longword = 3222820207;
and the compiler says:
usb_h.pp(43,39) Error: Illegal expression
Why thar? The maximum value of longword is bigger, and if i declare it
to be longint it compiles. But this constan
Hi!
Using fpc 1.0.10 on FreeBSD ig do this:
USB_DO_REQUEST : longword = 3222820207;
and the compiler says:
usb_h.pp(43,39) Error: Illegal expression
Why thar? The maximum value of longword is bigger, and if i declare it
to be longint it compiles. But this constant is to be used for an
ioctl()
14 matches
Mail list logo