Command: Last

NEST HelpDesk Command Index NEST Quick Reference

Name:
 Last - Return the last element of an array or string

Synopsis:
 string Last -> char
array Last -> arrayelement

Examples:
 (train) Last -> 110
[1 2 3] Last -> 3
[(this) (is) (an) (example)] Last -> (example)

Author:
 docu edited by Sirko Straube

SeeAlso:First Rest Most
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/mathematica.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative