Re: [lazarus] Floating point random numbers generator

2007-07-07 Thread Darius Blaszijk
The random number generator which is included in FPC is in fact the best 
out there. (Mersene twister).


Darius

Alain Michaud wrote:

Hi.

maybe someone has a (good) pascal procedure for generating some floating
point random numbers ?

Thank you 


Alain

 


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


  


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] A counting proxy in lazarus ?

2007-07-07 Thread Marco van de Voort
On Fri, Jul 06, 2007 at 12:55:01PM +0200, A.J. Venter wrote:
  Put an http proxy inside the outkafe counter window, send the browser
  through it. This proxy need not cache ANYTHING. It ONLY needs to relay
  the http traffic back and forth - and count the bytes coming in (Each
  instance can run on it's own port - no problems there)

(Afaik Indy 10 has a HTTP proxy component, check it out)
 

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Working with XML: crosscompatibility

2007-07-07 Thread David Lyon

Tiziano_mk wrote:

Alvise Nicoletti wrote:

Hi...

I have to parse xml both with Lazarus on linux (server) and Delphi on 
Windows (client).


Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units.

Is there something that I can use in Delphi with the same code? Or, 
otherwise, is there some XML component compatible for both Delphi and 
Lazarus?




Time ago I found OpenXML: http://www.philo.de/xml/
but never had the time to play with it...
I just posted a message on their list and they were of the opinion that 
there were some incompatabilities/problems with the fpc compiler. And it 
wasn't possible to do a compile. This was several months ago.


They're not sure if the problems still exist.

Still I think this might be the most cross platform (potential) option.

It could be worth spending some time trying with this ?

any opinions ?


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Another OpenGL questions : re TGLCube properties

2007-07-07 Thread David Lyon

Christian U. wrote:

David Lyon schrieb:

Burkhard Carstens wrote:
I don't know what you mean. The GLObjects unit (where TGLCube is 
declared) is exactly identical to the original version and there is 
no Front property. There is a Parts property ..
What are you trying to achieve?   
FrontProperties are part of TGLMaterial to access it use 
YourCube.Material.FrontProperties

exact the same way as in Delphi


Yeah, you're right.

just looks a little different under lazarus than delphi...

Thanks


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives