Logo

Programming-Idioms

History of Idiom 165 > diff from v7 to v8

Edit summary for version 8 by Bart:
New Pascal implementation by user [Bart]

Version 7

2017-10-28, 11:02:52

Version 8

2017-11-09, 21:23:05

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Code
x := items[high(items)];