🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #158

Re: Look-ahead question

#158
From: Abe Kornelis
Date: Wed, 04 Oct 2006 17:27
57 lines
3592 bytes
John,

thanks for your quick answer. I've taken today's luch break
to test your remarks. I think there's been a misunderstanding.

You state the D' attribute was designed especially for the
purpose I had in mind. Well - it does not test whether a field
will be defined - it only tests whether or not a field has been
defined prior to the D' attribute reference.

This is a very useful feature, but in this case, I need to know
in advance whether or not invocation of the mapping macro
will or will not generate a given field. D' does not tell in advance,
not even in open code....

I think Roland Schiradin was closer by stating that it is impossible
to check in advance. I'll have to create my own solution.

Thanks,
Abe.
===

----- Original Message -----
From: "John R. Ehrman (408-463-3543 T/543-)" <ehrman@vnet.ibm.com>
To: <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Sent: Tuesday, October 03, 2006 8:46 PM
Subject: Look-ahead question


> The D' attribute reference will return 0 if the symbol is not
> defined, or 1 if it is; both tests are made at the position in
> the program where the attribute reference occurs. D' is meant
> to do just what you need (and was invented for that purpose).
>
> John Ehrman
>    (------------------ Referenced Note Follows --------------------)
> Date:         Tue, 3 Oct 2006 20:37:53 +0200
> From: Abe Kornelis <abe@bixoft.nl>
>
> Does anybody know of a way to tell in advance whether or not a
> specific field will be defined before its mapping macro is invoked?
>
> I have not been able to find a solution.
>
> After a field has been defined (DS or DC) I can of course use the
> D' attribute. But to my knowledge, this will not work *before* the
> field in question has been defined.
>
> I need to take action before the field is actually defined...
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.407 / Virus Database: 268.12.12/462 - Release Date: 3-10-2006
>
>
Technical Details
Message-ID: <001701c6e7da$ccd27830$87a674d5@bixoft>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!sn-xt-sjc-02!sn-xt-sjc-08!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!bixoft.nl!abe
References: <200610031846.k93IkI9S008439@d03av03.boulder.ibm.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,1ac3d379027be04d
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!sn-xt-sjc-02!sn-xt-sjc-08!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!bixoft.nl!abe
From: Abe Kornelis <abe@bixoft.nl>
Newsgroups: bit.listserv.asm370
Subject: Re: Look-ahead question
Date: Wed, 4 Oct 2006 19:27:47 +0200
Organization: SAS Inc.
Lines: 57
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <001701c6e7da$ccd27830$87a674d5@bixoft>
References: <200610031846.k93IkI9S008439@d03av03.boulder.ibm.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1159983066 16722 10.19.150.41 (4 Oct 2006 17:31:06 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Wed, 4 Oct 2006 17:31:06 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Authenticated-As: none
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Scanned-By: Digested by UGA Mail Gateway on 128.192.1.75
Approved-By: Abe Kornelis <abe@BIXOFT.NL>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 04 Oct 2006 17:31:03.0647 (UTC)
                       FILETIME=[DDC91EF0:01C6E7DA]
Originator: daemon@mozart.unx.sas.com