Start GeoGebra
Create Activity
Create Book
Upload…
Create Group
Join Group
Resources
Downloads
Blog
Help
Sign in
搜索
页面
讨论
查看源代码
历史
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
Create language links
链入页面
相关更改
上传文件
特殊页面
查看“Last 指令”的源代码
←
Last 指令
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
不允许您执行您所请求的操作。
您可以查看和复制此页面的源代码。
<noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|cas=true|list|Last}} ;Last[ <List> ] :{{translate|Last Command}} ;Last[ <List> , <Number of Elements> ] :{{translate|Last Command}} ;Last[ <Text> ] :{{translate|Last Command}} ;Last[ <Text> , <Number of Elements> ] :{{translate|Last Command}} ==CAS 視窗== ;Last[ <List> ] :{{translate|Last Command}} ;Last[ <List> , <Number of Elements> ] :{{translate|Last Command}} ;Last[ <List L> ] :Gives a new list that contains the last element of the list ''L''. :{{example|1=<div><code><nowiki>Last[{1, 4, 3}]</nowiki></code> yields ''{3}''.</div>}} :{{note| 1=To get the last element use <code><nowiki>Element[{1, 4, 3}, 3]</nowiki></code>.}} ;Last[ <List L>, <Number n of elements> ] :Gives a new list that contains just the last ''n'' elements of the list ''L''. :{{example|1=<div><code><nowiki>Last[{1, 4, 3}, 2]</nowiki></code> yields ''{4, 3}''.</div>}} ;Last[ <Text> ] :Gives last character of the text. :{{example|1=<div><code><nowiki>Last["Hello"]</nowiki></code> yields ''"o"''.</div>}} ;Last[ <Text> , <Number n of elements> ] :Gives the last ''n'' characters of the text. :{{example|1=<div><code><nowiki>Last["Hello",2]</nowiki></code> yields ''"lo"''.</div>}} ==CAS Syntax== ;Last[ <List L> ] :Gives a new list that contains the last element of the list ''L''. :{{example|1=<div><code><nowiki>Last[{1, 4, 3}]</nowiki></code> yields ''{3}''.</div>}} :{{note| 1=To get the last element use <code><nowiki>Element[{1, 4, 3}, 3]</nowiki></code>.}} ;Last[ <List L>, <Number n of elements> ] :Gives a new list that contains just the last ''n'' elements of the list ''L''. :{{example|1=<div><code><nowiki>Last[{1, 4, 3}, 2]</nowiki></code> yields ''{4, 3}''.</div>}} {{note| 1=<div>See also [[First Command]].</div>}}
该页面使用的模板:
Template:Command
(
查看源代码
)
Template:Example
(
查看源代码
)
Template:Manual Page
(
查看源代码
)
Template:Note
(
查看源代码
)
Template:Translate
(
查看源代码
)
返回至
Last 指令
。
GeoGebra
About
Team
Blog
Help
Tutorials
Forum
Manual
Partners
Partners
Institutes
Get Involved
Contact us
Feedback & Questions
This email address is being protected from spambots. You need JavaScript enabled to view it.
+43 677 6137 2693
Terms of Service
Privacy
License
© 2024 International GeoGebra Institute