For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
學習
資料庫
/
table
中文(繁體)
回饋
引擎資料庫
table
*
此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下
這裡
。
概要
函式
clear
(
table:
table
)
:
()
clone
(
t:
table
)
:
table
concat
(
t:
{any}
,
sep:
string
,
i:
number
,
j:
number
)
:
string
create
(
count:
number
,
value:
Variant
)
:
table
find
(
haystack:
table
,
needle:
Variant
,
init:
number
)
:
Variant
foreach
(
t:
table
,
f:
function
)
:
()
已棄用
foreachi
(
t:
{any}
,
f:
function
)
:
()
已棄用
freeze
(
t:
table
)
:
table
getn
(
t:
{any}
)
:
number
已棄用
insert
(
t:
{any}
,
pos:
number
,
value:
Variant
)
:
()
insert
(
t:
{any}
,
value:
Variant
)
:
()
isfrozen
(
t:
table
)
:
boolean
maxn
(
t:
table
)
:
number
move
(
src:
table
,
a:
number
,
b:
number
,
t:
number
,
dst:
table
)
:
table
pack
(
values...:
Variant
)
:
Variant
remove
(
t:
{any}
,
pos:
number
)
:
Variant
sort
(
t:
{any}
,
comp:
function
)
:
()
unpack
(
list:
table
,
i:
number
,
j:
number
)
:
Tuple
API 參考
函式
clear
table.clear
(
table
:
table
)
:
()
參數
table
:
table
返回
()
提供回饋
clone
table.clone
(
t
:
table
)
:
table
參數
t
:
table
返回
table
提供回饋
concat
table.concat
(
t
:
{any}
,
sep
:
string
,
i
:
number
,
j
:
number
)
:
string
參數
t
:
{any}
sep
:
string
i
:
number
預設值:1
j
:
number
返回
string
提供回饋
create
table.create
(
count
:
number
,
value
:
Variant
)
:
table
參數
count
:
number
value
:
Variant
返回
table
提供回饋
find
table.find
(
haystack
:
table
,
needle
:
Variant
,
init
:
number
)
:
Variant
參數
haystack
:
table
needle
:
Variant
init
:
number
返回
Variant
提供回饋
foreach
已棄用
顯示詳細資訊
foreachi
已棄用
顯示詳細資訊
freeze
table.freeze
(
t
:
table
)
:
table
參數
t
:
table
返回
table
提供回饋
getn
已棄用
顯示詳細資訊
insert
table.insert
(
t
:
{any}
,
pos
:
number
,
value
:
Variant
)
:
()
參數
t
:
{any}
pos
:
number
value
:
Variant
返回
()
提供回饋
insert
table.insert
(
t
:
{any}
,
value
:
Variant
)
:
()
參數
t
:
{any}
value
:
Variant
返回
()
提供回饋
isfrozen
table.isfrozen
(
t
:
table
)
:
boolean
參數
t
:
table
返回
boolean
提供回饋
maxn
table.maxn
(
t
:
table
)
:
number
參數
t
:
table
返回
number
提供回饋
move
table.move
(
src
:
table
,
a
:
number
,
b
:
number
,
t
:
number
,
dst
:
table
)
:
table
參數
src
:
table
a
:
number
b
:
number
t
:
number
dst
:
table
預設值:src
返回
table
提供回饋
pack
table.pack
(
values...
:
Variant
)
:
Variant
參數
values...
:
Variant
返回
Variant
提供回饋
remove
table.remove
(
t
:
{any}
,
pos
:
number
)
:
Variant
參數
t
:
{any}
pos
:
number
返回
Variant
提供回饋
sort
table.sort
(
t
:
{any}
,
comp
:
function
)
:
()
參數
t
:
{any}
comp
:
function
預設值:nil
返回
()
提供回饋
unpack
table.unpack
(
list
:
table
,
i
:
number
,
j
:
number
)
:
Tuple
參數
list
:
table
i
:
number
預設值:1
j
:
number
預設值:#list
返回
Tuple
提供回饋
跳至
▼
table
概要
函式
函式
clear()
clone()
concat()
create()
find()
foreach()
foreachi()
freeze()
getn()
insert()
isfrozen()
maxn()
move()
pack()
remove()
sort()
unpack()
中文(繁體)
回饋
©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。
條款
·
隱私權
·
無障礙功能
·
支援
中文(繁體)