Re: [fpc-pascal] Missini graph unit

2011-05-29 Thread Nikolay Nikolov
On 05/28/2011 11:46 AM, Elio Fabri wrote: Hi, I downloaded fpc-2.4.4.x86_64-linux.tar and installed OK. But the compiler cannot find the Graph unit. Apparently the graph.ppu file is missing. Where can I find it, or a valid substitute? Try the ptcgraph unit.

Re: [fpc-pascal] fpc graph

2011-05-03 Thread Nikolay Nikolov
On 05/02/2011 04:03 PM, johnelee1...@googlemail.com wrote: thanks - what are the features of ptcgraph vs graph? - I just want simple line graphs in win eg of data from a file, so was guessing that graph, from its name, was the 'best' option. J Ptcgraph is new (fpc 2.4.4 will be the first stabl

Re: [fpc-pascal] fpc graph

2011-05-02 Thread Nikolay Nikolov
On 05/02/2011 02:58 PM, John Lee wrote: Been trying to use the windows graph from 2.4 release svn, running on standard xp sp3 laptop, with 1024*768 resolution screen setting, 96dpi, intel mobile express 965 chipset according to control panel. Note that you can also try unit ptcgraph (and ptccr

Re: [fpc-pascal] Converting a graphical DOS program to fpc

2010-07-06 Thread Nikolay Nikolov
On 07/01/2010 05:46 AM, Simon Webster wrote: Dear Free Pascallers, I'm wanting to convert a Turbo Pascal program to fpc, to run (ultimately) under linux, although I'm actually developing on a mac, and using virtualbox to run ubuntu. The program in question is a relatively large non OOP program w

Re: [fpc-pascal] MSEide+MSEgui SourceForge -> BerliOS

2010-02-09 Thread Nikolay Nikolov
On 02/05/2010 03:25 PM, Martin Schreiber wrote: Please read: http://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-with-us-law/ Martin Good news, they have added the option to lift those restrictions. It's now up to the project admins

Re: [fpc-pascal] Case in Record

2009-10-06 Thread Nikolay Nikolov
On 10/06/2009 06:31 PM, Frank Peelo wrote: Any new concepts that were introduced, like properties, were applied only to the new classes and objects were left in a corner, like the embarrassing relative that you wish you could get rid of, but can't. However, AFAIK Free Pascal supports properties

Re: [fpc-pascal] Text IDE under Linux FrameBuffer

2009-09-13 Thread Nikolay Nikolov
On 09/13/2009 11:38 PM, Graeme Geldenhuys wrote: 2009/9/13 Nikolay Nikolov: Could you provide some more information? Which distro are you using? What's your locale (i.e. the value of the LANG environment variable)? And which I'm using Ubuntu 8.04 and Ubuntu 9.04 on x86 hard

Re: [fpc-pascal] Text IDE under Linux FrameBuffer

2009-09-13 Thread Nikolay Nikolov
On 09/13/2009 06:08 PM, Graeme Geldenhuys wrote: Hi, When I run the Text IDE under the Linux Framebuffer (fbdev), then the box drawing characters do not display correctly. Anybody know if there is a solution for this. The FPC Text IDE is not the only application with this problem. Midnight Comm

Re: [fpc-pascal] [Fwd: [Lazarus] IOI: Lazarus and Free Pascal]

2009-08-23 Thread Nikolay Nikolov
On 08/21/2009 08:31 PM, Žilvinas Ledas wrote: Yes, i'ts so frustrating when you can't write solutions in ACM using your best known programming language... Yeah, that sucks, I know. My guess is that since ACM is sponsored by IBM, they want to push their Eclipse and Java crap and Pascal just si

Re: [fpc-pascal] Constructors & Destructors 101

2009-04-05 Thread Nikolay Nikolov
Jonas Maebe wrote: If you had two different create constructors (for whatever reason), might you not also need two different destroy destructors? No, the default destructor should always free all resources, regardless of how the class instance was created. Otherwise, it would also make your c

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-21 Thread Nikolay Nikolov
L505 wrote: The first compilers were written in assembly language. This allowed for the next generation compilers to be written in a high level language. And the assembly language was just magically inserted into the memory with that magic script? At some point it comes to a h

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-21 Thread Nikolay Nikolov
L505 wrote: Same applies to gcc ;) Without an older gcc you can't build a new one except using a propritary compiler. But where did that proprietary compiler come from? Hardware based? Molecules, Ions, and atoms? i.e. the answer to the big bang theory, the answer to religion, etc.

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-21 Thread Nikolay Nikolov
L505 wrote: Same applies to gcc ;) Without an older gcc you can't build a new one except using a propritary compiler. But where did that proprietary compiler come from? Hardware based? Molecules, Ions, and atoms? i.e. the answer to the big bang theory, the answer to religion, etc. Th

Re: [fpc-pascal] 64 Bit Intel-Processors??

2005-08-19 Thread Nikolay Nikolov
Thomas Zastrow wrote: Hello, I'm writing a little article about Pascal-Development under Linux. My question: Am I right that FPC will not work on Intels 64-Bit-Processors??? I just found something about the AMD-64-Bit-platform ... It should run on Intel EM64T (http://en.wikipedia.org/wiki/

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-16 Thread Nikolay Nikolov
L505 wrote: Neato.. offtopic but if anyone wondered, the delphi compiler is originated from borland C++ as far as my tools told me. Yes, actually DCC32 is written in C++. Only the Delphi IDE is written in Delphi. FPC and Lazarus are both written in FPC :) __

Re: [fpc-pascal] fast integer multiplication

2005-07-28 Thread Nikolay Nikolov
Florian Klaempfl wrote: Vincent Snijders wrote: Hi, Suppose I have the following code: var a,b: dword; c: qword; begin a := 1000; b := 2000; c := a * b; writeln(c); end. Now, although c is large enough to contain the result only the lower dword is filled. I can force corre

Re: [fpc-pascal] Silly Syntax Games

2005-06-09 Thread Nikolay Nikolov
L505 wrote: But.. for all the C wussies out there.. this won't work : program Project1; {$mode objfpc}{$H+} {$define {:= begin} //this works {$define }:= end. } //this doesn't work {$define }:= end; } //this doesn't work var iLoc:integer; { for iLoc:= 1 to 60 do writeln('test') }

Re: [fpc-pascal]

2005-05-06 Thread Nikolay Nikolov
Anandu R Suri wrote: I am writing an operating system using your Free Pascal Compilier 1.0.10. Most of my code is based on the IA32 opcodes in $ASMMODE INTEL. I have two problems, both are of importance. 1. The very basic problem is with the video driver. Whenever I try to write to the Video memory

Re: [fpc-pascal] Question about interfaces

2005-03-20 Thread Nikolay Nikolov
ml wrote: But you're wrong for '::' '::' exists in perl too. Sorry, I don't speak perl :) I know only C, C++, Java, C# and Object Pascal. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Nikolay Nikolov
ml wrote: Other possibilities like ['?','%','$','|','&','::','^'] were only named under btw. (and how can btw. under question 2 become the main flaming topic is out of my reason, maybe its time to my annual lobotomy) Well, mentioning C-isms in a pascal forum may sometimes lead to flames :) (Yes

Re: [fpc-pascal] Question about interfaces

2005-03-18 Thread Nikolay Nikolov
ml wrote: 3. This one is not some little beauty hack. So, no pressure here. But, I must admit that I'm most interested in this answer. Classes do support multiple interface inheritance, but interfaces don't. That cuts almost all of the interface flexibility. Any good reasons why? Probably becaus

Re: [fpc-pascal] Question about interfaces

2005-03-18 Thread Nikolay Nikolov
ml wrote: btw. When writing about operators, why do they contain such little possibilities. operator overloads could contain possibility for ['?','%','$','|','&','::','^'] These are C++ operators, aren't they? ___ fpc-pascal maillist - fpc-pascal@lis

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-16 Thread Nikolay Nikolov
Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

[fpc-pascal] Problems accessing www/cvs.freepascal.org

2005-02-20 Thread Nikolay Nikolov
The site times out at 'HTTP request sent; waiting for response.'. Works fine at work, but I can't access it from home. :( www.freepascal.org resolves to 62.166.198.202, and I can ping that host. At work it resolves to the same address, and no, I haven't put anything in my hosts file. My IP is 2

[fpc-pascal] How about a link to lazarus on the freepascal.org front page?

2005-01-18 Thread Nikolay Nikolov
How about a link to lazarus on the freepascal.org front page? Seems like there are people who know about fpc, but not lazarus. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Internal Error 9999 on FC3

2004-12-05 Thread Nikolay Nikolov
Agustin Barto wrote: I disabled exec_shield (echo 0 > /proc/sys/kernel/exec_shield) and it worked. I tried several times to check and everytime I had exec_shield on, the compile process got to an error at some point. I guess it does affect the compiler, or at least it does on my particular configur

Re: [fpc-pascal] Freepascal newbie [Attn] Nikolay Nikolov

2004-11-26 Thread Nikolay Nikolov
Ron Weidner wrote: Nikolay, Why did you translate openPTC instead of some of the other available choices? What advantages does openPTC offer over SDL or Allegro? Do you have any (Linux) demos/games written with openPTC that I can take a look at? What do you think about tinyPTC? No serious reas

Re: [fpc-pascal] Freepascal newbie

2004-11-24 Thread Nikolay Nikolov
Gustavo Galembeck wrote: As my inicial question in the list, I'd like to know the best way of developing a Win32 / Linux 2D game using Freepascal. Is the PTCPas unit a good choice? I translated it from C++ in 2001 and it's good enough for me. :-) It provides graphics output, keyboard input (key

Re: [fpc-pascal]Schedule request (educational and olympiad applications of FPC)

2004-06-16 Thread Nikolay Nikolov
[EMAIL PROTECTED] wrote: Furthermore, the International Olympiad in Informatics (IOI) this year is taking place in September, and software versions are in the process of being decided. Speaking of olympiads (and IOI), how about including e.g. DeCAL in the standard FPC distribution (e.g. in pack

Re: [fpc-pascal]Hex values

2004-04-23 Thread Nikolay Nikolov
Marco van de Voort wrote: oct: &088; // 1.9+ only bin: %101010; // 1.9+ only These also work for 1.0.10. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]wow quite cool example you made there :)

2004-03-18 Thread Nikolay Nikolov
Harald Houppermans wrote: WOW very interesting indeed I thought you did it like this: asm mov CS, blabla mov IP, blabla end But now I see !!! You are actually using the parameters: CS := blabla; :) IP := blabla; :) Those interrupt parameters actually allow something which otherwise isn't

Re: [fpc-pascal]building a command string

2003-09-24 Thread Nikolay Nikolov
DONALD PEDDER wrote: Exec(GetEnv('COMSPEC'), '/c copy '+ParamStr(1)+' '+ParamStr(1)+'.bak /v'); Now THIS is what I needed to know! Thank you. :-) I originally tried a writeln kind of syntax - '/c copy ',paramstr(1),' ',paramstr(1),'.bak /v' - but that didn't work, hence my other attempts to

Re: [fpc-pascal]building a command string

2003-09-23 Thread Nikolay Nikolov
DONALD PEDDER wrote: Below is the current state of my code. I am getting "invalid TSS" at the point I have noted. I don't even know what a "TSS" is! I guess it's something to do with strings (I haven't used strings much before either - something else lacking in my previous compilers). I searched

Re: [fpc-pascal]BIOS PnP function far call (go32v2)

2003-09-09 Thread Nikolay Nikolov
[EMAIL PROTECTED] wrote: Hi, under GO32V2 i want to call BIOS PnP function with entry point db $FF,$1E; dw PnP_EntryPoint or call DWord ptr [PnP_EntryPoint] but always i got error "SIGSEGV - segmentation violation". PnP_EntryPoint (type pointer) is normally somewhere in BIOS area

Re: [fpc-pascal]Cross-Compiling

2003-08-01 Thread Nikolay Nikolov
James Mills wrote: How are you guys goins with crosscompiling ? I'd like to be able to cross compile from Debian/Linux to various other platforms... Or have you been crosscompiling the other way ? First of all, you need binutils, compiled with support for the targets you want. Get the source, rea

Re: [fpc-pascal]runtime 201 with swapword function

2003-07-25 Thread Nikolay Nikolov
[EMAIL PROTECTED] wrote: Why does the following result in a runtime error ? program example; const THE_PORT = ; function swapWord(w: Word): Word; begin swapWord := (w SHL 8) OR (w SHR 8); end; How can I correct this ? This bit of code was taken directly from server.pp in one of the old 2002

Re: [fpc-pascal]cross compiler potential ?

2003-06-29 Thread Nikolay Nikolov
Harald Houppermans wrote: Hey wait a sec. What s the difference between binutils AS.exe and NASM... It seems NASM is for 8086x and AS is for all kind of processors, is that correct ? Nasm uses Intel-style assembler syntax, while AS uses AT&T, but that doesn't matter when you only use them as

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Nikolay Nikolov
Harald Houppermans wrote: then compile for linux with: fpc -TLINUX -Anasmelf filename.pas Are these parameters based on the NASM idea ? yes What are the right parameters based on the binutils ? the same, just without the -Anasmelf fpc -TLINUX filename.pas ( Let s try binutils method fir

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Nikolay Nikolov
Harald Houppermans wrote: A step by step tutorial how to create such a cross compiler would be quite handy :D 1. Where do I get binutils from windows to linux ? Compiling it myself seems impossible... so many errors I am ready to give up on that. ( I tried mingw and cygwin, both with no luck )

[fpc-pascal]using 'overload'

2003-04-06 Thread Nikolay Nikolov
Is it necessary to use the 'overload' directive in objfpc mode? E.g. this code doesn't work: {$MODE objfpc} Program Test2; Type TBaseFunClass = Class(TObject) Procedure DoStuff(a : Integer; b : Integer); Virtual; Abstract; Procedure DoStuff(a : Integer); End; TFunClass = Class(TBaseFunCl

<    1   2