công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM0715 bảng dữ liệu(PDF) 7 Page - STMicroelectronics

tên linh kiện UM0715
Giải thích chi tiết về linh kiện  SPC563MPrimerBasic
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0715 bảng dữ liệu(HTML) 7 Page - STMicroelectronics

Back Button UM0715 Datasheet HTML 3Page - STMicroelectronics UM0715 Datasheet HTML 4Page - STMicroelectronics UM0715 Datasheet HTML 5Page - STMicroelectronics UM0715 Datasheet HTML 6Page - STMicroelectronics UM0715 Datasheet HTML 7Page - STMicroelectronics UM0715 Datasheet HTML 8Page - STMicroelectronics UM0715 Datasheet HTML 9Page - STMicroelectronics UM0715 Datasheet HTML 10Page - STMicroelectronics UM0715 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 24 page
background image
UM0715
Basic command
Doc ID 15798 Rev 2
7/24
4
Basic command
The section below list detailed commands.
Table 1.
Basic commands
Name
Remarks
DIM
Use DIM to create a named list of numbers or strings. Arrays can have up to five dimensions.
There must be no space between the name of the dimensioned variable and the opening
parenthesis.
10 DIM name$(100)
creates an array of 100 names.
10 DIM map(width, height)
creates a 2d array of width * height entries, maybe representing grid squares on a map.
20 LET map(1,10) = 2.0
sets the top rigth element to 2.0.
30 LET map(width, height)
is the bottom right element. If you try to access out of range elements the computer will throw an
error.
It’s possible to resize an array at any point by calling DIM on it again. If the array is one
dimensional, elements will be preserved. If the array has higher dimensions then the elements
will be scrambled.
It’s allows to initialize arrays when you dimension them.
Example
10 DIM days$[7] =
“Mon”, “Tue”, ”Wed”, ”Thur”, ”Fri”, ”Sat”, ”Sun”
this instruction will declare an array of days of the week. This method is useful for defining data.
For 2d arrays, the first dimension is the lowest (x) dimension, so:
DIM name$(2, 4) =
”Fred”, ”Bloggs”,
”Joe”, ”Sixpack”
”Homer”, ”Simpson”
”John”, ”Doe”
is the correct order.
Dimensioned variables are intimately connected with FOR ... NEXT loops. Use the loop counter
to index into your array.
Usage
DIM id(numeric, numeric)
10 DIM array(10)
creates a single-dimensioned array of 10 numerical elements.
10 DIM dictionary$(2, N)
creates a 2-dimensional array of N * 2 strings.
10 DIM factorial(10) = 1!, 2!, 3!, 4!, 5!, 6!, 7!, 8!, 9!, 10!
reates a list of the first ten factorials.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com