プレイ日記
Hunter pHUNTERq
How do you pass an array through an argument of a function? I can't find any documentation on this matter.
3そうだね
プレイ済み
返信[1]
親投稿
Hanzo rzsense
I haven't seen any documentation neither, but it is possible. Please refer to the following codes. DEF AVERAGE(DA) VAR I,R=0 FOR I=0 TO LEN(DA)-1 INC R,DA[I] NEXT I R=R/LEN(DA) RETURN R END DIM H[5] H[0]=176:H[1]=189:H[2]=145:H[3]=160:H[4]=201 ?"height average of five people is "; ?FORMAT$("%3.1F",AVERAGE(H))
2そうだね
未プレイ
返信[2]
親投稿
Hunter pHUNTERq
Ahh okay I see now, thanks for the help.
0そうだね
プレイ済み