Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

課題 配列の大きさを指定方法が不明 #5

Open
taisukef opened this issue Dec 13, 2024 · 1 comment
Open

課題 配列の大きさを指定方法が不明 #5

taisukef opened this issue Dec 13, 2024 · 1 comment

Comments

@taisukef
Copy link
Member

配列の要素は,要素の番号を添字で指定します。2次元以上の場合は,添字を『, 』で区切ります。たとえば,(1次元の) 配列 Tokuten や 2次元配列 Gyoretu の要素は Tokuten[2] や Gyoretu[3,2] のように表します。

個別要素の使用方法のみ定義されている

例: Tokuten のすべての要素に 0 を代入する

要素がいくつあるか不明

@taisukef
Copy link
Member Author

DNCL3では使用されているすべての要素と定義した

使用されている配列の要素に同じ値をまとめて代入することができます
Tokuten = 0

https://github.com/code4fukui/DNCL3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant