[Info-vax] Non-portable code

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Thu Jan 7 16:17:59 EST 2010


Marc Van Dyck wrote:

> And I don't believe I would be able to do
> wildcard matching with character strings in DCL like I did with
> STR$MATCH_WILD in my program.

Check :

$
$ help lexical f$match_wild example

Lexicals

  F$MATCH_WILD

   Example

    $ write sys$output f$match_wild ("This is a candidate","*c%%d*")
    TRUE
    $

    This command performs a wildcard match between the candidate
    candidate and pattern *c%%d* and found that the strings match.


> EXEs have lots of advantages over DCLs !

Mainly speed.

> And finally, as I already mentioned, there is also the fact that those
> tools are already used everywhere, so changing them would require a lot
> of effort to adapt all the places where they are used, more than the
> effort needed to maintain them.

I do not think (not as far as you have showed anyway) that the use
of the tool would have to change only because the implementation
would change from Pascal to DCL.

But, no reason to argue. You have to full picture and I'm sure
that you are taking to right path for your particular environment.

I, on the other hand, rather like doing things in DCL... :-)

Jan-Erik.



More information about the Info-vax mailing list