[fpc-pascal] wiki page confusion with Ordinal to Word conversion

2011-03-11 Thread Ben
Hi, http://wiki.freepascal.org/User_Changes_2.4.0#Byte.2FWord.2FLong.2FQwordbool_types Based on this wiki description, If a value of Ord(True) is assigned to say a Word variable, the value of that Word variable is now -1. How is that possible when the Word type has a valid range of only

Re: [fpc-pascal] wiki page confusion with Ordinal to Word conversion

2011-03-11 Thread Jonas Maebe
On 11 Mar 2011, at 11:41, Ben wrote: Based on this wiki description, If a value of Ord(True) is assigned to say a Word variable, the value of that Word variable is now -1. How is that possible when the Word type has a valid range of only 0..65535?? byte/word/long/qwordbool is used as a