|
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Jon Paris
There are three problems with the pointer-based-template
approach - both solved by the "real" template support in 6.1
1) A based DS cannot specify INZ values.
So, no problem there, either!
2) The compiler cannot detect that you didn't really mean to
reference a field in the template. You won't find this out
until run time when it goes book with a pointer exception.
Which of course is only a problem for people who don't test
fully <grin>
3) The cast majority of RPGers on seeing the BASED keyword
will go "What the ... " - I used to teach this technique in
my sessions on the D-spec but have all but dropped it (and
relegated it to notes pages) because such a large percentage
of the audience just glazed-over when they saw it.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.