Jump to content

NETSquirrel - guidelines/Remarks

From Wikibooks, open books for an open world

Compatibility

[edit | edit source]

There is no full compatibility between NETSquirrel and PascalABC.NET due to named tuples usage. It means that the following code will not compile:

{$reference NETSquirrel.dll}
uses NETSquirrel;

begin
  (new integer[] (1, 2, 3)).Numerate().Select(x -> x.index).PrintLine(); // You must use Item2 instead index.
end.