Page 1 of 1

textpad together with freepascal

Posted: Wed Apr 27, 2005 8:29 am
by iersel
Is there anyone who uses Textpad in combination with FreePascal?
I am trying to setup this but I all the time fail setting up the correct in the preferences-tools window
Especially the regular expression part I can not figure out

Please help

Nathan

Posted: Wed Apr 27, 2005 8:36 am
by helios
You can find a Regular expression for the FreePascal here:

http://www.textpad.com/support/tips/index.html#pascal

I hope this helps.

Posted: Wed Apr 27, 2005 8:55 am
by iersel
yes i have found that page as well, but it didnt work for me...

here is a screenshop of the window
http://iersel.ie.funpic.org/tp-fpc.html

compile looks like

Code: Select all

C:\FPC\1.9.8\bin\i386-win32\FPC Theresia.dpr -B -Sd
and the command results

Code: Select all

C:\Documents and Settings\iersenat\Desktop\New Folder>C:\FPC\1.9.8\bin\i386-win32\FPC Theresia.dpr -B -Sd 
Free Pascal Compiler version 1.9.8 [2005/02/21] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Win32 for i386
Compiling Theresia.dpr
Theresia.dpr(13,3) Fatal: Syntax error, "identifier" expected but ")" found
Error: C:\FPC\1.9.8\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specifiy a source file to be compiled)

Tool completed with exit code 1
thanks,
Nathan