According to Frank Heckenbach:
It could also be a switch. But wouldn't it be "cleaner" to write it as a function? "CStrFunc (Str2CStr (StrVar))" or so...
Ah - you are referring to parameter passing. Yes, this will be built-in, so you can just write "CStrFunc ( StrVar )".
What functions do you mean? Built-in replacements for BP's functions from the `Strings' Unit?
Of course, they could be external functions as well. It's no problem to implement them in Pascal. But I think in the long run, all such standard functions will be built-in.
You are right that it would be easy to provide these functions as built-in features once we have solved this problem for parameter passing. Since there already is a de-facto standard in BP how to name these functions we should use that.
Everything okay,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]