Jonas Maebe wrote:
If you want something more akin to Think Pascal, you may want to try
LWP, which is available here:
http://sourceforge.net/projects/lightweight-ide
Thanks, Jonas! I think that is what Edward needs. BTW, the latest
version is at
http://www.ragnemalm.se/lightweight
It i
Because of all the help I got, especially from Jonas Maebe, I
successfully opened and ran successfully in LIghtweight IDE the
Pascal program I had developed over several years in Think Pascal.
NOW I can modify it, as I had desired.
Ed
___
fpc-pasc
Am Freitag, den 30.11.2007, 23:09 +0200 schrieb Graeme Geldenhuys:
> On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> >
> > But I still have questions about the code. Do I understand correctly
> > that Graeme contributed the de-/compression code but it still has to get
> > integrated and u
>>
Note that the above is not a valid Pascal program. This is the
correct version:
Program HelloWorld;
begin
writeln('hello');
end.>>
Thank you, thank you! I had a case of the dumbs, mixing languages. I
was about ready to give up and redo my Think Pascal program in Basic,
since I tho
On 30 Nov 2007, at 23:20, Edward Kearns wrote:
Program HelloWorld;
begin
print "hello"
end.
Note that the above is not a valid Pascal program. This is the
correct version:
Program HelloWorld;
begin
writeln('hello');
end.
and I'm told
No main program found. Can not build.
What ex
>>
Where do I go to create my main file in LWP?
Anywhere you want. Just make sure it starts with a program header
(such as "program helloworld;").
Jonas>>
Here's what I wrote:
Program HelloWorld;
begin
print "hello"
end.
and I'm told
No main program found. Can not build.
What ex
On 30 Nov 2007, at 22:46, Edward Kearns wrote:
If you want something more akin to Think Pascal, you may want to
try LWP, which is available here:
http://sourceforge.net/projects/lightweight-ide
I did try LWP, and when I opened New Skel, and Compiled, and Ran,
all I got were error message
>> If you want something more akin to Think Pascal, you may want to
try LWP, which is available here:
http://sourceforge.net/projects/lightweight-ide
Jonas>>
I did try LWP, and when I opened New Skel, and Compiled, and Ran, all
I got were error message.
Where do I go to create my main fil
On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote:
>
> But I still have questions about the code. Do I understand correctly
> that Graeme contributed the de-/compression code but it still has to get
> integrated and used by the component?
We used the zlib (de)compression units from the tiOPF
Am Freitag, den 30.11.2007, 16:21 +0100 schrieb
[EMAIL PROTECTED]:
> > What de- and encoding is it, are you talking of character sets or
> > encryption?
>
> I was referring to compression. It should be trivial to implement, but I
> never got around it. So if you have interest and want to patch it
On 30 Nov 2007, at 19:49, Edward Kearns wrote:
I am new to FPC, and can't get started. I have used Think Pascal,
and I seem to have quite a hurdle here. Someone else told me that I
need to start XCode first. I did that, then I chose a template
(FPC Carbon Application 2.2.0). Then I didn't
I suggest you look at the FPC/Lazarus Wiki
http://wiki.freepascal.org/
for ideas to get you started.
It may be easier to start programmng using either the FPC IDE which
comes with the FPC package, or the Lazarus IDE which can be used either
to produce Windowed GUI applications or simple Pascal
I am new to FPC, and can't get started. I have used Think Pascal, and
I seem to have quite a hurdle here. Someone else told me that I need
to start XCode first. I did that, then I chose a template (FPC
Carbon Application 2.2.0). Then I didn't know how to enter code, so I
opened start.pas,
> What de- and encoding is it, are you talking of character sets or
> encryption?
I was referring to compression. It should be trivial to implement, but I
never got around it. So if you have interest and want to patch it please
do, I will apply it.
Darius
En/na [EMAIL PROTECTED] ha escrit:
Hi,
after I upgraded fpc 2.0.4 -> 2.2.0, I can't find unit Libc => can't use
Synaser and RS232.
I use Kubuntu 6.10 and I'm not a programmer (I am electronics).
Any advise?
Try synasnap, it includes synaser and supposedly doesn't use libc (I say
"supposedly" j
Am Freitag, den 30.11.2007, 15:00 +0100 schrieb Marc Santhoff:
> Am Freitag, den 30.11.2007, 13:45 +0200 schrieb Graeme Geldenhuys:
> > On 30/11/2007, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> > >
> > > ./something >& out.log
> > >
> >
> > That didn't work...
>
> Maybe you use another sh
On 30/11/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
>
> I had 522 memory leaks!! [hiding in shame] But after enabling
> Heaptrc and 1 hour later, fpGUI is now totally memory leak free! :-)
I forgot to mention. In my defense.. 512 of those leaks
were from a pre-built linked-list qu
On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> For sh and maybe bash getting stdout and stderr in the file
>
> ./something 2>&1 out.log
>
> should do. I didnt test, but getting stderr only may work like this:
I use bash and the above doesn't work... Henry's example of
./something > lo
On 30/11/2007, Henry Vermaak <[EMAIL PROTECTED]> wrote:
>
> ./something.sh > log.txt 2>&1 will redirect both stdout and stderr to
> log.txt. a useful trick...
>
Thanks Henry, this also works.
Regards,
- Graeme -
___
fpGUI - a cross-platform Free P
Hi,
I had a suspicion that fpGUI was leaking some memory. After
activating Heaptrc I got a bit of a shocker. I needed to log the
output to file because it was *very* long. [Yeah I know, nothing to
be proud of].
I had 522 memory leaks!! [hiding in shame] But after enabling
Heaptrc and 1 hour
Am Freitag, den 30.11.2007, 09:04 +0100 schrieb
[EMAIL PROTECTED]:
> > Hi,
> >
> > I'd like to unzip one file from a zip archive and use it directly as
> > input for something else (sax or self written parser).
> >
> > Since the unzip package form the "extra" dir only writes to disc files:
> >
> >
Am Freitag, den 30.11.2007, 13:45 +0200 schrieb Graeme Geldenhuys:
> On 30/11/2007, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> >
> > ./something >& out.log
> >
>
> That didn't work...
Maybe you use another shell than Marco (that's [t]csh), you could look
at the man page for your in the pa
On 30/11/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> On 30/11/2007, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> >
> > ./something >& out.log
> >
>
> That didn't work...
./something.sh > log.txt 2>&1 will redirect both stdout and stderr to
log.txt. a useful trick...
>
>
> Regards,
On 30/11/2007, Vincent Snijders <[EMAIL PROTECTED]> wrote:
>
> RTFM for the log=... use
> http://www.freepascal.org/docs-html/rtl/heaptrc/environment.html
>
Thanks Darius and Vincent. I'm new to heaptrc and just tried it out.
For some reason I didn't even think to look for docs... My bad.
Rega
On 30/11/2007, Marco van de Voort <[EMAIL PROTECTED]> wrote:
>
> ./something >& out.log
>
That didn't work...
Regards,
- Graeme -
___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
Graeme Geldenhuys schreef:
Hi,
If I compile a project the -gh (Heaptrc unit), how to I capture the
output generated when I quite the application to a file?
I tried the normal: $./text > out.log
But that doesn't work... the out.log is empty.
RTFM for the log=... use
http://www.freepascal.o
> [ Charset ISO-8859-1 unsupported, converting... ]
>> Hi,
>>
>> If I compile a project the -gh (Heaptrc unit), how to I capture the
>> output generated when I quite the application to a file?
>>
>>
>> I tried the normal: $./text > out.log
>>
>> But that doesn't work... the out.log is empty.
>
>
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi,
>
> If I compile a project the -gh (Heaptrc unit), how to I capture the
> output generated when I quite the application to a file?
>
>
> I tried the normal: $./text > out.log
>
> But that doesn't work... the out.log is empty.
./someth
> after I upgraded fpc 2.0.4 -> 2.2.0, I can't find unit Libc
As Ido already said, unit libc is linux/x86 only, since it is a Kylix
compability unit (and Kylix only runs on linux/x86). So no other
architectures on Linux, no FreeBSD, no OS X.
See also sections 2.3 and 6 in http://www.stack.nl/~mar
On Thu, 29 Nov 2007, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am trying to convert a Windows DLL to a "lib" file for (Debian) Linux.
> The DLL uses PROCESS_ATTACH and PROCESS_DETACH (DllProc). Is there an
> equivalent feature in FreePascal on the Linux platform?
No. Linux does not support this.
Hi,
If I compile a project the -gh (Heaptrc unit), how to I capture the
output generated when I quite the application to a file?
I tried the normal: $./text > out.log
But that doesn't work... the out.log is empty.
Regards,
- Graeme -
___
fpc-pas
The libc unit does not arrive with FPC 64bit...
On Nov 30, 2007 12:29 PM, <[EMAIL PROTECTED]> wrote:
> Hi,
> after I upgraded fpc 2.0.4 -> 2.2.0, I can't find unit Libc => can't use
> Synaser and RS232.
> I use Kubuntu 6.10 and I'm not a programmer (I am electronics).
> Any advise?
> Peter Lebdus
Hi,
after I upgraded fpc 2.0.4 -> 2.2.0, I can't find unit Libc => can't use
Synaser and RS232.
I use Kubuntu 6.10 and I'm not a programmer (I am electronics).
Any advise?
Peter Lebduska
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://l
Hi,
I am trying to convert a Windows DLL to a "lib" file for (Debian) Linux.
The DLL uses PROCESS_ATTACH and PROCESS_DETACH (DllProc). Is there an
equivalent feature in FreePascal on the Linux platform?
Thanks
Bernd___
fpc-pascal maillist - fpc-pasc
Running 2.2.0 on Win-32 and Linux is it possible to have an absolute
(fully-qualified) path as the parameter of a $INCLUDE directive? I've been
trying to include a file from elsewhere on the /usr/local tree and find I can
only do that using ../../.. (and so on) which gets somewhat tedious and ha
On 30/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> You can have a look at TZipFile
> (http://wiki.lazarus.freepascal.org/ZipFile). The only problem still with
> it is that it does not support decoding / encoding. But the basis is there
> already. You can access a zipfile as if it's a f
> Hi,
>
> I'd like to unzip one file from a zip archive and use it directly as
> input for something else (sax or self written parser).
>
> Since the unzip package form the "extra" dir only writes to disc files:
>
> Is there any alternative source for writing from zip to a stream instead
> of a fil
> Hi,
>
> I'd like to unzip one file from a zip archive and use it directly as
> input for something else (sax or self written parser).
>
> Since the unzip package form the "extra" dir only writes to disc files:
>
> Is there any alternative source for writing from zip to a stream instead
> of a fil
38 matches
Mail list logo