Post Reply 
Parsing expressions
09-15-2015, 07:20 AM
Post: #2
RE: Parsing expressions
In CAS mode you can use part():

   

The following CAS program could be a starting point for what you want:

Code:
#cas
OBJ(f):=
BEGIN
  LOCAL k,l;
  l:={};
  FOR k FROM 0 TO part(f) DO
   l:=CONCAT(l,part(f,k));
  END;
  return l;
END;
#end

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


Messages In This Thread
Parsing expressions - xset - 09-15-2015, 06:11 AM
RE: Parsing expressions - Didier Lachieze - 09-15-2015 07:20 AM
RE: Parsing expressions - xset - 09-15-2015, 07:27 AM
RE: Parsing expressions - ji3m - 09-26-2015, 05:44 PM
RE: Parsing expressions - Tim Wessman - 09-26-2015, 06:55 PM
RE: Parsing expressions - xset - 09-27-2015, 07:42 AM



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