13 Jul
2001
13 Jul
'01
3:15 a.m.
michael paap wrote:
2. Is there any possibility, to give the Sourcecode to GPC as a string-parameter instead of using a file? I would like to call GPC from the Java-Program this way, if possible.
Nope, GPC cannot read the source code from an argument. If you really need to invoke it like this, I suggest a little shell script like this (very roughly): ... handle other options TMPFILE=... echo "$..." > "$TMPFILE" gpc ... "$TMPFILE" (You might want to take the usual precautions WRT temp files in shell scripts.) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html