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