WP Get sections コマンドはtargetObj 引数内に定義されている全てのセクションのコレクションを返します。
targetObj 引数には、以下のいづれかを渡すことができます:
セクションオブジェクトについての詳細な情報については、WP Get section コマンドを参照してください。
4D Write Pro エリアの最後のセクションの属性を変えたい場合を考えます:
C_COLLECTION($colSections)
$colSections:=WP Get sections(wpDoc)
WP SET ATTRIBUTES($colSections[$colSections.length-1];wk column count;3)