EUPHORIA improvement request

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_000E_01BD6141.F43CDD80
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!
I'd like to suggest an improvment to the "system" call in Euphoria.

It's very nice to use EUPHORIA as a batch super-processor, but is not =
trivial to catch the standard output.
Some of the OS commands (i.e. date) have an alternate command inside EU. =
But user programs have to pass the output via a disk file.
It would be very nice if we could write something like:

    myOutput =3D system("Myprog")

where myOutput would be a sequence with the stdout of the called =
program.

So we could write something like

   MyEnv =3D system("set")

and find out the names of all defined variables in the environment... I =
can think of many uses.
Jesus.

------=_NextPart_000_000E_01BD6141.F43CDD80
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I'd like to suggest an improvment to =
the=20
&quot;system&quot; call in Euphoria.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>It's very nice to use EUPHORIA as a batch =
super-processor, but=20
is not trivial to catch the standard output.</FONT></DIV>
<DIV><FONT size=3D2>Some of the OS commands (i.e. date) have an =
alternate command=20
inside EU. But user programs have to pass the output via a disk=20
file.</FONT></DIV>
<DIV><FONT size=3D2>It would be very nice if we could write something=20
like:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; myOutput =3D=20
system(&quot;Myprog&quot;)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>where myOutput would be a sequence with the stdout =
of the=20
called program.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>So we could write something like</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp; MyEnv =3D =
system(&quot;set&quot;)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>and find out the names of all defined variables in =
the=20
environment... I can think of many uses.</FONT></DIV>

------=_NextPart_000_000E_01BD6141.F43CDD80--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu