Re: [fpc-pascal] Streaming classes?

2009-10-22 Thread leledumbo
> I have no clue what its used for or why I would want to use it You can save the "state" of your program and restore it later, particularly useful for games. AFAIK, it's one of the best way to implement "save" in games. -- View this message in context: http://www.nabble.com/Streaming-classes--

[fpc-pascal] array [boolean] and typecasting fail

2009-10-22 Thread David Emerson
It appears that, in a special case here, the boolean typecast is not being done properly/completely, and thus an array is being indexed out of bounds. If I compile with rangechecking, I get a rangecheck error; without, I get garbage and an EAccessError exception! (trash and crash) uses math; t