Recent

Author Topic: edit.pp - What Kind of Project ?  (Read 2321 times)

pmckone

  • Newbie
  • Posts: 5
edit.pp - What Kind of Project ?
« on: September 25, 2020, 09:03:18 pm »
edit.pp is a win32 program that comes with FPC.  It doesn't use any Component Library files.  When I double-click on edit.pp, Lazarus starts up, and asks what kind of project do I want to make.  None of the options look right.  I just want to edit the source and compile with FPC.  Thanks for any suggestions>

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: edit.pp - What Kind of Project ?
« Reply #1 on: September 25, 2020, 10:01:27 pm »
"Program"

Thaddy

  • Hero Member
  • *****
  • Posts: 14158
  • Probably until I exterminate Putin.
Re: edit.pp - What Kind of Project ?
« Reply #2 on: September 25, 2020, 10:12:21 pm »
edit.pp is a win32 program that comes with FPC.
No it does not come with FPC (find -name edit.pp returns nothing and I have all the sources, so also the win32 parts, although I am working on Linux)
Quote
  It doesn't use any Component Library files.  When I double-click on edit.pp, Lazarus starts up, and asks what kind of project do I want to make.  None of the options look right.  I just want to edit the source and compile with FPC.  Thanks for any suggestions>
Where is it located? (relative path of course) It is probably a unit , not a program. I only checked this for FPC, not for Lazarus.
« Last Edit: September 25, 2020, 10:19:17 pm by Thaddy »
Specialize a type, not a var.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: edit.pp - What Kind of Project ?
« Reply #3 on: September 25, 2020, 11:03:36 pm »
It is in the fpc build svn, under demos.

Bart

  • Hero Member
  • *****
  • Posts: 5265
    • Bart en Mariska's Webstek
Re: edit.pp - What Kind of Project ?
« Reply #4 on: September 25, 2020, 11:08:57 pm »
Where is it located? (relative path of course) It is probably a unit , not a program. I only checked this for FPC, not for Lazarus.

There is a reason that Lazarus IDE asks what kind of application it should make.
And that reason is not that edit.pp is a unit.

Bart

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: edit.pp - What Kind of Project ?
« Reply #5 on: September 25, 2020, 11:21:53 pm »
Hi!

edit.pp is a little bit dusty and rusty.

It is from  fpc 2.2.0.
2006? 2007? 2008?  Around that time.
In the directory demo/win32/

This tells my harddisk to me.

It is not in the current fpc and Lazarus.


Winni
« Last Edit: September 25, 2020, 11:25:38 pm by winni »

Bart

  • Hero Member
  • *****
  • Posts: 5265
    • Bart en Mariska's Webstek
Re: edit.pp - What Kind of Project ?
« Reply #6 on: September 26, 2020, 12:16:09 am »
It is not in the current fpc

I beg to differ:

Code: [Select]
C:\devel>dir edit.pp /s
 Volume in drive C is Windows
 Volume Serial Number is 0C94-A215

 Directory of C:\devel\fpc\3.0.4\demo\win32

15-03-2009  13:05            13.031 edit.pp
               1 File(s)         13.031 bytes

 Directory of C:\devel\fpc\3.2.0\demo\win32

28-02-2020  17:30            12.572 edit.pp
               1 File(s)         12.572 bytes

 Directory of C:\devel\fpc\3.2.0RC1\demo\win32

15-03-2009  12:05            13.031 edit.pp
               1 File(s)         13.031 bytes

Bart

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: edit.pp - What Kind of Project ?
« Reply #7 on: September 26, 2020, 12:55:54 am »
Hi!

I also beg to differ:

Neither in the dir fpcsrc nor in fpc

But I am on Linux.
Seems that the Linux users are discriminated. Again .....
( Don't take that too serious )

Ok, if that is Win-only that's OK.

Winni

pmckone

  • Newbie
  • Posts: 5
Re: edit.pp - What Kind of Project ?
« Reply #8 on: September 26, 2020, 03:06:20 am »
I know this is the old-fashioned Windows programming method.  My intent is to add a Windows GUI to the old Turbo chess program.  I probably should use the component libraries.  I'm guessing someone from Borland did this a long time ago, because there a C++ version of this program that shipped with CBuilder that does use component libraries.  Thanks for your replies.  Sorry I didn't mention that the source is in the "demo" directory.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: edit.pp - What Kind of Project ?
« Reply #9 on: September 26, 2020, 09:58:30 am »
Neither in the dir fpcsrc nor in fpc

But I am on Linux.
Seems that the Linux users are discriminated. Again .....

It's part of the demos (which is part of the fpcbuild repository) and it's included with our standard Linux installer inside the demo.tar.gz and will be installed if you answer y on the question to install demos. That said it is located in the win32 subfolder.

It's also contained in our standalone Windows installer.

dbannon

  • Hero Member
  • *****
  • Posts: 2778
    • tomboy-ng, a rewrite of the classic Tomboy
Re: edit.pp - What Kind of Project ?
« Reply #10 on: September 26, 2020, 10:31:32 am »
yep -

Code: Bash  [Select][+][-]
  1. dbannon@dell:~/Pascal/Packages$ find ../../bin/FPC/ -name edit.pp
  2. ../../bin/FPC/fpc-3.2.0-x86_64-linux/y/win32/edit.pp

My guess is that I answered 'y' for yes when asked if I wanted the demos !

:-)

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018