[fpc-pascal]building a command string
jims_son at jedi.apana.org.au
Wed Sep 24 22:35:24 CEST 2003
> The plus concatenates strings,
Okay, I see.
> Basically you can always do this:
> Writeln('Hello, ' + 'world!');
> Writeln('Hello, ', 'world!');
> and they do the same thing.
I don't think I've ever seen the former. This is useful stuff to know!
> P.S. find a good book about pascal programming and learn how to use
> strings, they're cool. (And they don't exist in C) :)
Don't mention the C-word around me! ;-)
I have a Pascal book, but it only covers Standard Pascal, plus brief
mention of some of the common extensions. Until I got the FPC, all I had
was the standard stuff. I'm really enjoying having the extra flexibility -
parameter passing, accessing the OS, strings, etc. (but it takes a little
while to learn how to use the new toys).
More information about the fpc-pascal