Am 19.10.2011 23:28, schrieb Andrew Pennebaker:
>From what I gather, procedure variables can indeed be referenced and
passed around, etc.
However, procedures do not return anything, so it's hard to chain them.
In functional languages, it's handy to do several nested map(map(map f
... calls.
Pascal isn't a functional language. You'll need to find other ways to do
this in Pascal as other Pascal users have found ways to implement their
code. You could try object oriented programming for example (though I
don't know a specific solution for "map").
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal