如何在 NetLogo 中创建列表列表?

How to create a list of lists in NetLogo?

我想在 NetLogo 中创建一个列表列表。我有以下内容:

let a []
let b []
let c []
let d []
let l-o-l list [a b c d]

但后来我得到:

LIST expected 2 inputs on the right or any inputs when surrounded by parentheses.

突出显示 list

但是当我将最后一行更改为 let l-o-l list (a b c d)
时,我用 Expected closing parenthesis.[ 突出显示了 b =16=]

我很困惑!

关闭!你要的是

(list a b c d)

当输入多于正常数量时,将包含整个表达式,包括 list 报告者。