The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
[CAS] seq and .. cmds
09-23-2016, 05:54 PM (This post was last modified: 09-23-2016 05:56 PM by compsystems.)
Post: #1
[CAS] seq and .. cmds
Hi, sorry for my bad English

lst0:=seq(k,k,1,3,1); returns [1,2,3] OK
[type(lst0), TYPE(lst0)]; returns [DOM_LIST,4] // OK
3*lst0; returns [3,6,9] // OK,IS SAME 3*[1,2,3]; -> [ 3,6,9]

now using doudle dot cmd

lst1:=seq(k,k=1..3,1); returns
[1,2,3] with conteiners [ ] apparently on the history view

now goto the entry line
[^](key up) {copy} menu, disappear the conteiners [] WHY?
1,2,3
3*lst1; returns 18 WHY? // 3*1*2*3 = 18

[type(lst1), TYPE(lst1)] returns
[DOM_LIST,
"TYPE(lst1) Error: Bad Argument Value"]

should be [DOM_LIST, 14.CAS TYPE]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[CAS] seq and .. cmds - compsystems - 09-23-2016 05:54 PM
RE: [CAS] seq and .. cmds - Tim Wessman - 09-23-2016, 06:13 PM
RE: [CAS] seq and .. cmds - compsystems - 08-24-2018, 01:09 AM



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