Re: [fpc-pascal] Random(), Randomize, and Linux permissions

2004-09-28 Thread Vincent Snijders
Alan Mead wrote: It's known that Randomize() is not effective when called rapidly... If you call randomize in the same process, I don't know, why you should call randomize more than once. But maybe you are calling randomize in seperate processes ... Vincent. _

[fpc-pascal] Random(), Randomize, and Linux permissions

2004-09-28 Thread Alan Mead
It's known that Randomize() is not effective when called rapidly... I tried to solve this using the code sample below. I can cat /dev/null (without becoming root) but when I run the code below I get an access denied RTE at 'Reset(f,1);'.. this code works fine when run as root... anyone have a sugg

[fpc-pascal] Known issue with 1.9.4 [2004/05/30] for i386 on Linux?

2004-09-28 Thread Alan Mead
I don't know if this is really a bug or whether it's known... I have this line of code: while ( (i<=Length(fmt)) and (NOT fmt[i] IN ['0'..'9']) ) do inc(i); It compiles fine but I get a RTE: An unhandled exception occurred at 0x0807B180 : EVariantError : Invalid variant operation $0807B180