Post Reply 
DIM in a program
04-02-2014, 10:03 AM (This post was last modified: 04-02-2014 10:05 AM by Angus.)
Post: #3
RE: DIM in a program
Maybe that is another capitalized non-capitalzed matter?

In fact I expected the length to be a number and not a list containing the length. I found that I got a list.... But I did use DIM in the program.
A few seconds ago I tried both dim() and DIM() in the cas.

vec:=[1,2,3,4,5];

invocing dim(vec) in the cas turns to DIM(vec) in the history und results in 5.
invocing DIM(vec) in the cas gives {5}.

That is strange

P.S. The original question on splitting up a command to part1*part2 remains, though. For a student learning to program that can really become a problem don't you think?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DIM in a program - Angus - 04-02-2014, 09:24 AM
RE: DIM in a program - eried - 04-02-2014, 09:47 AM
RE: DIM in a program - Angus - 04-02-2014 10:03 AM
RE: DIM in a program - eried - 04-02-2014, 10:09 AM
RE: DIM in a program - Angus - 04-02-2014, 10:46 AM
RE: DIM in a program - eried - 04-02-2014, 11:48 AM
RE: DIM in a program - Angus - 04-02-2014, 12:12 PM



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