Re: [fpc-pascal] Succ() and Pred() operations

2008-04-09 Thread Tomas Hajny
On Wed, April 9, 2008 23:55, Ricardo Viégas wrote: Hi Ricardo, > I have installed FPC 2.2.0 [2007/09/09] a few days ago on my > WinXP-Pro-SP2, and I'm just taking a Web Tutorial on the language. > when I come to "User defined variable types", I decided to make the > following test: > > Program

[fpc-pascal] Succ() and Pred() operations

2008-04-09 Thread Ricardo Viégas
Hi there! I have installed FPC 2.2.0 [2007/09/09] a few days ago on my WinXP-Pro-SP2, and I'm just taking a Web Tutorial on the language. when I come to "User defined variable types", I decided to make the following test: Program Test (Output); Type Vars = (var0, var1); Var x : Vars; Begin x