Re: [fpc-pascal] Regression in StrToDateTime()

2018-06-14 Thread Carmel computer - Antal
You also can make your own procedure to fix the issue for yourself. Like you can rewrite the function StrToDateTime() to change all '. ' to '.' and then call the original function StrToDateTime() On Thu, 14 Jun 2018, LacaK wrote: Hi, now I am migrating my applications from FPC 2.6.4 to FPC

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-07 Thread Antal
2008/10/6 Frank Peelo <[EMAIL PROTECTED]> > CSV is occasionally referred to as something other than "Comma Separated > Values". I'm not sure why. If you're using CSV, stick to what most > applications understand by csv and benefit from some level of compatibility. > Why make hassle for yourself? E

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-06 Thread Antal
> > It is a plain text file, each row is separated with CRLF (#13#10), each >> cell separated with tab (#9) >> > > errm, surely that should be a comma, not a tab! The Tab as separator is just a good way to avoid using the double quote :P It just comes from the good old Lotus123. Anyway, just try

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-05 Thread Antal
You might use the CSV, which can be easily open with Office and to generate by your application. I am using this way to handle data to/from excel It is a plain text file, each row is separated with CRLF (#13#10), each cell separated with tab (#9) Also, if you'r data has no comma or " then you can u

Re: [fpc-pascal] Blog system written in Pascal

2008-09-06 Thread Musan Antal
We just wanted to start one, but my fellow colleague just quit and he has only done the algorithm on paper for this, though we haven't dropped the idea to work on our own blog system, but lack of time... 2008/9/4 ik <[EMAIL PROTECTED]> > Hi, > > Out of pure curiosity, are there any blog systems w

[fpc-pascal] GSoC

2008-03-12 Thread Musan Antal
Hello Felipe, I think it would be really important to make a new submission to the GSoC. I also have some ideas on what else to include, in order to make the application more convincing. Please let me know if you want, or other, to administer the application, or if I should make it. I can also co

[fpc-pascal] FPC on GSoC

2008-03-12 Thread Musan Antal
Could you please tell me more about this issue: Musan Antal schreef: > Was you ever considering to get involved in the Google Summer of Code? > There are lot of Open-Source projects in it, I think it would also be in > the benefit of FPC to get some developers. > > But what do

Re: [fpc-pascal] help with serial.pp unit please

2007-12-14 Thread Musan Antal
> //Hide; > ShowMessage('Pick up the phone.' + #13 + 'Click OK after > dialing has completed.'); > s := 'ATH^M^J'; I think you'll better use s:='ATH'^M^J; ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:

[fpc-pascal] GSoC

2007-11-12 Thread Musan Antal
Was you ever considering to get involved in the Google Summer of Code? There are lot of Open-Source projects in it, I think it would also be in the benefit of FPC to get some developers. But what do you think about this? ___ fpc-pascal maillist - fpc-p

[fpc-pascal] Re: Why this evaluates on "if" wrong ?

2007-10-31 Thread Musan Antal
The discussion about PI reminds me another funny quote: The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of

[fpc-pascal] Eliberatica

2007-05-20 Thread Antal
Today ended the Eliberatica held in Brasov - Romania. It was mainly a conference around the Open source. I had the idea, that freepascal should be at an important even like this, so I'd like to know if you are interested in participating at a such event. Let's describe the organizers the personali

[fpc-pascal] CSV

2007-02-04 Thread Antal
For example: if you want that the csv string ';bb bb;' becomes a TStrings with 3 items (, bb bb and ), is necessary to transform ';bb bb;' into ';"bb bb";' But to do this in a generic way, without knowing if determined value has space than you have to parse each it

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Antal
That's why I'm asking. Also, I tried to find documentation on reading/writing PDF with FPC, but on the site I've got two links, one of them broken. Basically for me it would be important to read from PDF or JPEG, so the format is not that important, but I have to generate some platform independ

[fpc-pascal] Reading text from images

2006-12-09 Thread Antal
Does anybody have an idea about how to read text from an image, using freepascal? There are lots of fonts, and so on, but it would be rather interesting to make able fpc to read from jpegs or gifs, since on the net there is so much information stored in images. _

[fpc-pascal] linus torvalds

2006-12-02 Thread Antal
I think he is only expressing an idea which is rather common even these days between C programmers. Although it is based on the fact that Pascal was designed to be a learning language, making easy to anyone to learn programming and to make some software with it. However Borland tried to ride thi

[fpc-pascal] 16bit String

2006-09-08 Thread Antal
I was thingink, what if someone should implement in the fpc compiler a 16 bit String, which should work exactly as the 8bit string, which only can handle a 256 char long string. As long as we can define a string as an array of char, what if we can have a 16bit string, as an array of word? And

[fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Antal
Can anyone explain why i get output like this in a small test program: Inside Thread Main Loop Inside Thread Main Loop Inside Thread Main Loop That's because the line terminator! #10#13 or #13#10 acts differently So, check in the source code whic

[fpc-pascal] [Offtopic] Sendmail problems

2006-05-05 Thread Antal
I'm experiencing the same problem with my sendmail, like I've seen here. Some messeges are delivered a few month later. Does anybody have an idea what's wrong with it? It's annoying to see people is receiving on 1st April a Happy New Year e-mail sent by me on 3rd Jan. And I'm afraid the same pro

[fpc-pascal] Re: random numbers

2006-03-09 Thread Antal
raid is rather far from what we might expect from a "real" random number generator! Thanks, Antal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Random numbers

2006-03-06 Thread Antal
|Random numbers should not be generated with a method chosen at random. | -- Donald E. Knuth |The generation of random numbers is too important to be left to chance. |-- Robert R. Coveyou, Oak Ridge National Laboratory, 1969 The Mersenne Twister Free Pascal uses is one of the best

[fpc-pascal] Random numbers

2006-03-04 Thread Antal
It's not just that, but randseed is not a threadvar. This means that all your threads use the same randseed variable, so if two threads call "random" at the same time they will still get the same "random" number. Jonas And also generating a rand * getpid you can't really get good random number

[fpc-pascal] File locking/protection in Linux

2005-11-01 Thread Antal
How can be avoided in Linux the file corruption due to simultaneous write access from two different process? Or how can it be avoided to access the same file by two different process? I experienced a few (but painful) data loss due to this problem, and I'm unable to solve the problem. _

[fpc-pascal] exec with many params

2005-09-02 Thread Antal
in linux I can't use the exec for executing a program with more than one parameter. I tried to supply more than a parameter separeted with whitespace, but it's not reliable, since the program is treating it as just one parameter so I can't pass options to programs, such as: ls -l .* _

[fpc-pascal] Shortstrings/ ANSIStrings

2005-09-02 Thread antal
What is the main difference between the shortstrings (256 byte) and the ANSI Strings? I mean, upon using the Strings, we have plenty of functions, manipulating the string, while with ANSIStrings we have certain difficulties obtaining the same result This is ranging from Pos(), Delete(), String ad

[fpc-pascal] Exec with many params

2005-06-23 Thread Antal
> > in linux I can't use the exec for executing a program with more than one > > parameter. > > I tried to supply more than a parameter separeted with whitespace, but > > it's not reliable, since the program is treating it as just one parameter > > > > so I can't pass options to programs, such as:

[fpc-pascal] exec with many params

2005-06-22 Thread Antal
in linux I can't use the exec for executing a program with more than one parameter. I tried to supply more than a parameter separeted with whitespace, but it's not reliable, since the program is treating it as just one parameter so I can't pass options to programs, such as: ls -l .* _