Hi
i would like to code a small console app like 'dir' or 'ls' for Linux
which gets some input parameters and outputs ist result to the
console (eg. bash). It should do some calculations and should
be used from a pearl-script.
Is there a way to do this in pb? Input is not the problem -
ProgramParameter does the job - but how to display the output???
tia - your help will be appreciated
Problem with Console App
Problem with Console App
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
HI,
From the looks of your question? I cant make any cake from it, sorry.
Perhpas a print? Ooooo i get it...you would like to do cgi programming,
then i would like refer you to all the cgi code on the web, tons of it, try
to get a hook on how it works, then try to bake a cake in bash / ksh and then
in perl (thats perl not pearl!, no offence
then try it in PB or C.. you like it.
Good luck, Pbdep.
From the looks of your question? I cant make any cake from it, sorry.
Perhpas a print? Ooooo i get it...you would like to do cgi programming,
then i would like refer you to all the cgi code on the web, tons of it, try
to get a hook on how it works, then try to bake a cake in bash / ksh and then
in perl (thats perl not pearl!, no offence

Good luck, Pbdep.
Re: Problem with Console App
> how to display the output???
Code: Select all
OpenConsole()
PrintN("Output to console/DOS box")
Input()
CloseConsole()
Re: Problem with Console App
i tried the demo for linux - with no console output
but as i see this is included in the full version

but as i see this is included in the full version

PB wrote:> how to display the output???
Code: Select all
OpenConsole() PrintN("Output to console/DOS box") Input() CloseConsole()
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])