Array parameter expressions



Array parameter expressions
Smart pascal source code
{ unit1.pas } var a : array of Float := [0]; x := 1.5; s : array of string; begin a.Add(x * 2); Writeln(a.IndexOf(x * 2)); a.Insert(1, x * 4); a.Remove(x * 2); s := a.Map(FloatToStr); Writeln(s.Join(';')); { CONSOLE OUTPUT 1 0;6 }