|
Posted by Gazza on 05/21/06 11:26
Dave (from the UK) mumbled the following on 21/05/2006 03:39:
> MemoryConstrained[ FactorInteger[141],100000000,"Too Much RAM Aborting"]
> http://www.althorne.org/test.txt
Looks like you're echoing
MemoryConstrained["FactorInteger[141]", 100000000, "Too Much RAM Aborting"]
Does the first argument need to be in quotes?
Alternatively, (and this makes more sense), when passing the command to
cat, the quotes are removed, right? Leaving you with Factor...and not
"Factor...". Therefore, to keep the abort string as one, you'll need to
double-quote it. Not sure of the exact syntax, perhaps \"\"Too
much...\"\" ? You may or may not need to stripslashes() at some point.
Sorry it's not quite a full answer, but it might point you or someone
else in the right direction!
--
Gazza
Mobile Number Network Checker - http://mnnc.net/
Navigation:
[Reply to this message]
|