Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
定義済みの名前を持つ列がいくつかあるデータセットがあります。char 型の列名を含む変数を使用して、このデータセットの列にアクセスしたいと思います。参照はどうすればいいですか?
私はもう試した:
dataset.variableName
これは機能しません。
助けてくれてありがとう。
動的フィールド名には括弧を使用します:
dataset.(variableName)