티스토리 뷰
Introduction to the use of SMath Studio
Prepared by Gilberto E. Urroz, May 2010
The for and range commands in SMath Studio
p.59~
![](https://blog.kakaocdn.net/dn/WjzJ0/btshplnD43E/L1TRWtOHpB9nycIeJLFXo0/img.png)
Using ranges:
Ranges are needed for the "for" statement.
A range represents a vector whose elements follow a certain pattern.
Ranges can be entered as :
(1) range(start, end) becomes: start..end (increment = 1)
(2) range(start, end, start+increment) becomes: start, start+increment .. end
https://youtu.be/w-wghfPpypg
Introduction to the use of SMath Studio_P59.sm
0.02MB
반응형
LIST
'SMath' 카테고리의 다른 글
프로그래밍 오류 (0) | 2023.05.26 |
---|---|
프로그래밍 단계 (0) | 2023.05.26 |
Equality of wall areas at all angles (0) | 2023.05.25 |
The while command in SMath Studio (0) | 2023.05.23 |
pseudo code (0) | 2023.05.22 |