0
A
답변
0
적절하게 명명 된 Create Table with column names...
명령을 사용하여 열 이름이있는 Table
개체를 만들 수 있습니다. 객체의 이름, 행 수 및 열 이름이있는 문자열을 공백으로 구분하여 지정합니다.
값을 테이블에 삽입하려면 삽입 할 데이터의 유형에 따라 Set numeric value...
또는 Set string value...
을 사용하십시오.
columns$ = "index text number"
rows = 10
table = Create Table with column names: "table", rows, columns$
for i to rows
# The table is already selected, but it's always a good idea
# to confirm the selection at the beginning of a for loop
selectObject: table
Set numeric value: i, "index", i
Set numeric value: i, "number", randomGauss(0, 0.1)
Set string value: i, "text", "this is row " + string$(i)
endfor