Patrick De Geest on Tue, 11 Aug 2020 15:38:35 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Question about a clean exit from a gp script


Is there a neat way to leave or end a running gp script, from anywhere, even from within multiple nested loops, so that I come back straight at the pari prompt 'gp > '? 'Quit' doesn't work for me as the whole Pari application shuts down in my windows system.
'end', 'stop', 'system', 'goto' or whatever seems not to be implemented.

Just an example:

uslvl=11;
if(uslvl>6, warning("\n\nUser level "uslvl" too high!\n\n"); \*return strategy to the pari prompt*\ )

Patrick De Geest.