|
Niels, it's which and whole. A witchhole is something totally different :-)
-----Message d'origine-------
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Niels Liisberg
Envoyé : jeudi 25 novembre 2010 09:57
À : RPG programming on the IBM i / System i
Objet : Re: What is "BASED(StructureTemplate)"
Me to - mine is just called NULL with the value of .... *NULL :)
d myTemplateDS based(NULL)
the "myTemplate" does not occupy any memory - witch is the hole idea
Best regards
Niels Liisberg
Chief Technology Officer
System & Method
Håndværkersvinget 8, DK-2970 Hørsholm
Phone: +45 70 20 30 10
Fax: +45 70 20 30 11
Direct: +45 45 166 135
Mobile: +45 31 158 861
E-mail: nli@xxxxxxxxxxxxxxxxx
Web: www.system-method.com and www.Icebreak.org
Den 24/11/2010 kl. 02.26 skrev Joe Pluta:
Yeah, I do that all the time. I used BASED(@) for allstructures that
are used only as reference.explicitly
Joe
James,
If a pointer is specified in a BASED keyword and it's not
probably hasdefined elsewhere, the RPG compiler implicitly defines it.
Given the name, my guess is that whoever wrote this code
(RPG400-L) mailinga number of structures etc. defined as Based(StructureTemplate) -
basically, it's a placeholder, that's never used.
Rory
On Tue, Nov 23, 2010 at 4:09 PM, James H. H. Lampert<
jamesl@xxxxxxxxxxxxxxxxx> wrote:
I'm finally working on a V4-compilable version of Scott Klement's
SMTPUTIL, and in ICONV_H, I find a D-spec for "iconv_t" with the
keyword clause "BASED(StructureTemplate)"
I don't see any basing pointer by that name anywhere (indeed, I
can't find it anywhere else in any of the source members), and I
don't see any reference to it in the V6 ILE RPG manual.
--
This is the RPG programming on the IBM i / System i
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,please take a
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting,
moment to review the archives athttp://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.