Re: [fpc-pascal] newbie questions

2010-04-24 Thread Marc Weustink
spir ☣ wrote: On Tue, 20 Apr 2010 01:17:51 +0200 Marc Weustink m...@dommelstein.net wrote: Somehow I get the idea that you mix the definition/use of sets with arrays. Yes, it seems Pascal sets are rather related to enums than collections. I mean they look like packs of kinds of flags, which

Re: [fpc-pascal] newbie questions

2010-04-22 Thread spir ☣
On Tue, 20 Apr 2010 01:17:51 +0200 Marc Weustink m...@dommelstein.net wrote: Somehow I get the idea that you mix the definition/use of sets with arrays. Yes, it seems Pascal sets are rather related to enums than collections. I mean they look like packs of kinds of flags, which themselves are

[fpc-pascal] newbie questions

2010-04-19 Thread spir ☣
Hello, Total Pascal newbie here. Looked for answers in various references and tutorials, but cannot find. Fore-question: Is there a (free)pascal teaching/learning mailing list? (Like python's tutor list.) If not, is this one a proper place? * How does one declare the type of set items?

Re: [fpc-pascal] newbie questions

2010-04-19 Thread Howard Page-Clark
On 19/4/10 3:50, spir ☣ wrote: Hello, Total Pascal newbie here. Looked for answers in various references and tutorials, but cannot find. Fore-question: Is there a (free)pascal teaching/learning mailing list? (Like python's tutor list.) If not, is this one a proper place? * How does one

Re: [fpc-pascal] newbie questions

2010-04-19 Thread spir ☣
On Mon, 19 Apr 2010 16:36:06 +0100 Howard Page-Clark h...@talktalk.net wrote: On 19/4/10 3:50, spir ☣ wrote: Hello, Total Pascal newbie here. Looked for answers in various references and tutorials, but cannot find. Fore-question: Is there a (free)pascal teaching/learning mailing

Re: [fpc-pascal] newbie questions

2010-04-19 Thread Alberto Narduzzi
Thank you. Does this mean that to be able to define a literal value like byteset := [0, 3, 101] for a set (and probably for an array) I must have defined a custom type for it; correct? (It's the only difference I see with my trials: numbers in my code is not of a custom type but simply a var

Re: [fpc-pascal] newbie questions

2010-04-19 Thread Howard Page-Clark
Does this mean that to be able to define a literal value like byteset := [0, 3, 101] for a set (and probably for an array) I must have defined a custom type for it; correct? (It's the only difference I see with my trials: numbers in my code is not of a custom type but simply a var of type

Re: [fpc-pascal] newbie questions

2010-04-19 Thread Marc Weustink
spir ☣ wrote: Hello, Total Pascal newbie here. Looked for answers in various references and tutorials, but cannot find. Fore-question: Is there a (free)pascal teaching/learning mailing list? (Like python's tutor list.) If not, is this one a proper place? * How does one declare the type of