Post Reply 
Suggestion for EXECON.
12-15-2014, 10:57 AM
Post: #7
RE: Sugdestion for EXECON.
(12-15-2014 10:09 AM)cyrille de brébisson Wrote:  Hello,

> l1:={1,2,3}; l2:={a,5,6}; EXECON("&1-&2",l1,l2) -> "Error:Syntax Error".

how did you get 'a' in l1?
as a mater of fact, what is l1?
Are you working with user defined Home variables or program local or global variables?
These are important point of data to find what is happening...

What is sure is that execon will generate a series of strings with the proper data in it. Once it gets to "1-a", it seems that it can not parse it properly and errs on it...
it might not be due to symbolic, it might be due to the fact that execon is not aware of the existence of a in this case... This is what I Am trying to assert...

Cyrille

Hello,

1. I was working in CAS on command line. I did not yet try EXECON in program mode.
2. l1 is just a list with curly brackets. Just now I tried the same with square brackets and it also does not work.
3. I just put small 'a' in l2 as an element, but it does not matter where 'a' or any symbolic is it does not work, though it works with numbers only.
4. I defined l1 and l2 as user variables in CAS.
5. I tried another example sum(EXECON("abs(&1*l2)",l1,l2)) and it works as long as "&" does not refer to list with symbolic element(s).

Cheers
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Suggestion for EXECON. - John P - 12-14-2014, 03:59 AM
RE: Sugdestion for EXECON. - Snorre - 12-14-2014, 05:28 PM
RE: Sugdestion for EXECON. - John P - 12-14-2014, 09:12 PM
RE: Sugdestion for EXECON. - John P - 12-15-2014, 12:13 AM
RE: Sugdestion for EXECON. - John P - 12-15-2014 10:57 AM
RE: Sugdestion for EXECON. - Snorre - 12-15-2014, 12:31 PM
RE: Sugdestion for EXECON. - John P - 12-15-2014, 12:57 PM
RE: Sugdestion for EXECON. - DrD - 12-15-2014, 12:36 PM
RE: Sugdestion for EXECON. - John P - 12-15-2014, 01:15 PM
RE: Sugdestion for EXECON. - John P - 12-16-2014, 07:55 AM
RE: Sugdestion for EXECON. - parisse - 12-16-2014, 08:01 AM
RE: Sugdestion for EXECON. - John P - 12-16-2014, 09:01 AM
RE: Sugdestion for EXECON. - parisse - 12-16-2014, 09:48 AM
RE: Sugdestion for EXECON. - John P - 12-16-2014, 09:36 PM
RE: Sugdestion for EXECON. - parisse - 12-17-2014, 06:54 AM
RE: Sugdestion for EXECON. - Snorre - 12-17-2014, 12:51 PM
RE: Sugdestion for EXECON. - John P - 12-17-2014, 06:05 PM
RE: Sugdestion for EXECON. - parisse - 12-17-2014, 07:14 PM
RE: Suggestion for EXECON. - John P - 12-19-2014, 10:47 PM



User(s) browsing this thread: 1 Guest(s)