September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,9 +1,12 @@
|
|||
var stack := system'collections'Stack new.
|
||||
public program()
|
||||
{
|
||||
var stack := new system'collections'Stack();
|
||||
|
||||
stack push:2.
|
||||
stack.push:2;
|
||||
|
||||
var isEmpty := stack length == 0.
|
||||
var isEmpty := stack.Length == 0;
|
||||
|
||||
var item := stack peek. // Peek without Popping.
|
||||
var item := stack.peek(); // Peek without Popping.
|
||||
|
||||
item := stack pop.
|
||||
item := stack.pop()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue