Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
Linux
»
How can I give a value back to program that start me?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Lazarus Portable image fi...
by
af0815
[
Today
at 07:21:04 pm]
Output buffer to audio.
by
Dzandaa
[
Today
at 07:20:32 pm]
TCombobox causes Access V...
by
rich2014
[
Today
at 06:55:58 pm]
What is the current versi...
by
Remy Lebeau
[
Today
at 06:52:50 pm]
32-Bit MS-DOS Application...
by
paule32
[
Today
at 06:51:38 pm]
StringGrid - How to force...
by
etrusco
[
Today
at 06:20:30 pm]
InstallAware 2025 Sources...
by
Thaddy
[
Today
at 06:09:10 pm]
Linux - partly off topic...
by
Martin_fr
[
Today
at 05:23:49 pm]
Firebird 5.02. - the root...
by
rvk
[
Today
at 04:55:39 pm]
[ZeosDBO/TZQuery] Passing...
by
rdxdt
[
Today
at 04:54:10 pm]
How do I drag/move a fram...
by
Warfley
[
Today
at 04:00:05 pm]
Nothing but chaotic attem...
by
Nicole
[
Today
at 03:18:37 pm]
TimageList - Lazarus 4 wi...
by
Nicole
[
Today
at 03:10:55 pm]
Fast Canvas Library V1.0
by
TBMan
[
Today
at 02:38:56 pm]
I created a Hello World p...
by
paweld
[
Today
at 01:56:08 pm]
Reading Embeded PO Files
by
Bart
[
Today
at 01:34:25 pm]
functional IF
by
creaothceann
[
Today
at 01:09:43 pm]
What is your favorite "bu...
by
cdbc
[
Today
at 11:32:49 am]
TStringGrid.VisibleColCou...
by
wp
[
Today
at 10:57:24 am]
Gateway Timeouts
by
Marc
[
Today
at 09:58:47 am]
Animated toggle switch
by
cdbc
[
Today
at 08:41:11 am]
Pasdoc and Lazarus
by
440bx
[
Today
at 05:10:23 am]
[AGREED] processing web f...
by
Leledumbo
[
Today
at 04:28:13 am]
Testers required for LAMW...
by
nicelybrewed
[
Today
at 12:38:21 am]
IDE/ New Plugin
by
anderbelluno
[
Today
at 12:19:10 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can I give a value back to program that start me? (Read 4465 times)
Fred556
New Member
Posts: 26
How can I give a value back to program that start me?
«
on:
November 03, 2009, 03:10:01 pm »
Hello,
how can I give a value back to program that start me? A simple string is enough or a errorlevel in pure FPC code.
Thank you very much...
Logged
Programmer Software
and other copy protection tools.
theo
Global Moderator
Hero Member
Posts: 1932
Re: How can I give a value back to program that start me?
«
Reply #1 on:
November 03, 2009, 04:05:01 pm »
Do you mean like this?
WriteLn('response');
or
WriteLn(StdErr,'error');
Logged
Fred556
New Member
Posts: 26
Re: How can I give a value back to program that start me?
«
Reply #2 on:
November 03, 2009, 04:14:37 pm »
Hello,
thank you for your replay. I mean on Linux and way Win32.
When a other program start my program. How can I give the other program information back?
Logged
Programmer Software
and other copy protection tools.
Marc
Administrator
Hero Member
Posts: 2648
Re: How can I give a value back to program that start me?
«
Reply #3 on:
November 03, 2009, 11:41:25 pm »
you can also assign a value the the ExitCode variable. This is the same as the DOS errorlevel
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
Linux
»
How can I give a value back to program that start me?
TinyPortal
© 2005-2018