Definition of range3

Definition of range3 - [not a bug] - Messages

#1 Posted: 3/23/2017 2:15:05 PM
Joe

Joe

0 likes in 14 posts.

Group: User

Definition of range3 is incorrect in SMath. The correct definition should read range 3 returns a vector that starts at number 1 and ends at number 3 with an increment of number 2 minus number 1.
Number 2 and 3 have been interchanged.
#2 Posted: 3/23/2017 2:54:51 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello [userlink]JoeF[/userlink]

Wrote

Definition of range3 is incorrect in SMath. The correct definition should read range 3 returns a vector that starts at number 1 and ends at number 3 with an increment of number 2 minus number 1.
Number 2 and 3 have been interchanged.



There's no error. The argument enumeration for any function in SMath Studio is given in the input order (the one you can see even by pasting the math as plain text); accidentally in range(3) the glyph has the three arguments in a row with the 3rd one in the middle, hence probably the confusion

range(1,2,3) -> 2017-03-23 18_49_23-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 3/23/2017 2:59:24 PM
Joe

Joe

0 likes in 14 posts.

Group: User

Thanks Davide - I get it now
Joe
  • New Posts New Posts
  • No New Posts No New Posts