In our previous episode, Graeme Geldenhuys said:
> 
> Imagine if FPC had type inference and multi-line strings, neither very 
> exotic features. The code then becomes:
> 
> =========================================
> var query := '''SELECT Customers.CustomerName, Orders.OrderID
> FROM Customers
> FULL OUTER JOIN Orders
> ON Customers.CustomerID = Orders.CustomerID
> ORDER BY Customers.CustomerName;'''


''' already has meaning, you'll see that 

var s : ansistring;
begin
  s:='''text''';
end.

already compiles now.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to