[fpc-pascal] Lazarus: graphical interface using code only?

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Dec 4 08:46:04 CET 2008


On Thu, Dec 4, 2008 at 9:20 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
>
> Anybody know how I can store the output of a program into a variable
> in windows batch files? I'm trying to capture the following output
> like I have done in the unix shell script.
>   fpctarget=`fpc -iTP`-`fpc -iTO`

A bit of google searching and some experimentation, I managed to solve
this problem. fpGUI revision 1052 has the improved build.bat file. :-)


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list