Am Dienstag, den 17.03.2009, 19:50 -0400 schrieb Francisco Reyes:
> On the following URL,
> http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212,
> I found some different syntax to initialize an array.
>
> Examples there..
> var
> c1 : array[1..10] of char := '123456';
> i
> On the following URL,
> http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212,
> I found some different syntax to initialize an array.
That's another Pascal extension from Sun. One of the problem (and power) of
Pascal is that it's often extended arbitrarily, because no sta
var
c1 : array[1..10] of char;
begin
fillchar(c1[1],5,0);
fillchar(c1[5],5,#32);
You might need @ sign in front of c1 though...
...or...
const
c1:array[1..10] of char = '123456789a';
On Tue, Mar 17, 2009 at 5:50 PM, Francisco Reyes wrote:
> On the following URL,
> http://web.mit.edu/
Hello, Francisco!
Wednesday, March 18, 2009, 2:50:21 AM, you wrote:
> Is a loop the only way to initialize all the values in an array other than
> Values: array[1..2] of integer = (0,0);
> In the program I am working on, Values will be an array of 128 integers and
> I would like to initialize t
On the following URL,
http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212,
I found some different syntax to initialize an array.
Examples there..
var
c1 : array[1..10] of char := '123456';
int2 : array[1..100] of integer := [50 of 1, 50 of 2];
Tried those, but didn't se
Really interresting, this helps a lot.
thanks,
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> Yes, that can still be removed.
Removed...yes, but shall it be removed in fpc headers? Or should it
be removed in jedi-sdl headers first, and only after that fpc sdl
headers will be updated?
I could make a patch, removing x11 dependancy for darwin, but
something tells me, that it would not be ac
On 17 Mar 2009, at 19:13, dmitry boyarintsev wrote:
In this case, libSDLmain.a is always available in pre-compiled form
(it's
automatically compiled along with the rest of the sources). That's
also why
the FPC SDL unit always links against against that library (so that
it works
without ha
> In this case, libSDLmain.a is always available in pre-compiled form (it's
> automatically compiled along with the rest of the sources). That's also why
> the FPC SDL unit always links against against that library (so that it works
> without having to add anything extra in the main program.).
Tha
On 17 Mar 2009, at 14:52, dmitry boyarintsev wrote:
There're some fpc-sdl templates for XCode (at jedi-sdl). I'm using
Lazarus IDE (codetools mostly wanted feature) for development, and
using XCode is pain for me.
It's also possible to use precompiled library, as desctibed at this
forum thread:
2009/3/17 Henry Vermaak :
>
> you can read the source of rtcwake, too, which does more or less the
> same thing, i think.
and read rtc.txt in your kernel source.
henry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.o
2009/3/16 Milan Marusinec :
> Hello,
>
> Does anybody have pascal source for programatical WakeUp
> in standby mode through ACPI interfaces ?
which os? on linux you can use the rtc alarm to wake up after a
specific time, i don't know if there's another way.
on my system it's: /sys/class/rtc/rtc0
In our previous episode, Henrik Genssen said:
> I took the files from:
> http://svn.freepascal.org/svn/fpc/trunk/packages/winunits-base/src/
Not all the trunk fixes to that dir are in the upcoming. But most are.
___
fpc-pascal maillist - fpc-pascal@lis
Hi Felipe,
Perhaps you should try setting the interfaces to Nil instead of calling
their _release method...
// this is the function that cleans up Direct3D and COM
procedure cleanD3D();
begin
d3ddev := Nil;// close and release the 3D device
d3d := Nil;// close and release D
14 matches
Mail list logo