Insert 指令

出自GeoGebra Manual
跳到: 導覽搜尋
Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


Insert[ <List>, <List>, <Position> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Insert[ <Object>, <List>, <Position> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Insert[Object, List, Position]
Inserts the object in the list at the given position.
範例: Insert[x^2, {1, 2, 3, 4, 5}, 3] places x2 at the third position and gives you the list {1, 2, x2, 3, 4, 5}.
備註: If the position is a negative number, then the position is counted from the right.
範例: Insert[x^2, {1, 2, 3, 4, 5}, -1] places x2 at the end of the list and gives you the list {1, 2, 3, 4, 5, x2}.
Insert[List 1, List 2, Position]
Inserts all elements of list1 in list2 at the given position.
範例: Insert[{11, 12}, {1, 2, 3, 4, 5}, 3] places the elements of list1 at the third (and following) position(s) of list2 and gives you the list {1, 2, 11, 12, 3, 4, 5}.
備註: If the position is a negative number, then the position is counted from the right.
範例: Insert[{11, 12}, {1, 2, 3, 4, 5}, -2] places the elements of list1 at the end of list2 before its last element and gives you {1, 2, 3, 4, 11, 12, 5}.
© 2024 International GeoGebra Institute