var MyArray: [ ]int = array{1, 7, 49, 32, 29}
OnBegin<override>()<suspends>:void=
if(Num:=MyArray[0]):
for (Item: MyArray):
if (Item > Num):
Num:=Item
Trying to set up an array to get the largest value. All is well except for the last line of code. Do not seem to be able to assign the value of Item to Num.
Main error is the data is ambiguous but not clear how to resolve this. Any thoughts or alternative way to do this are greatly appreciated.