Last 指令

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


Last[ <List> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Last[ <List> , <Number of Elements> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Last[ <Text> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Last[ <Text> , <Number of Elements> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊

CAS 視窗

Last[ <List> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Last[ <List> , <Number of Elements> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
Last[ <List L> ]
Gives a new list that contains the last element of the list L.
範例:
Last[{1, 4, 3}] yields {3}.
備註: To get the last element use Element[{1, 4, 3}, 3].
Last[ <List L>, <Number n of elements> ]
Gives a new list that contains just the last n elements of the list L.
範例:
Last[{1, 4, 3}, 2] yields {4, 3}.
Last[ <Text> ]
Gives last character of the text.
範例:
Last["Hello"] yields "o".
Last[ <Text> , <Number n of elements> ]
Gives the last n characters of the text.
範例:
Last["Hello",2] yields "lo".

CAS Syntax

Last[ <List L> ]
Gives a new list that contains the last element of the list L.
範例:
Last[{1, 4, 3}] yields {3}.
備註: To get the last element use Element[{1, 4, 3}, 3].
Last[ <List L>, <Number n of elements> ]
Gives a new list that contains just the last n elements of the list L.
範例:
Last[{1, 4, 3}, 2] yields {4, 3}.
備註:
See also First Command.
© 2024 International GeoGebra Institute