Use N' or K' or direct comparison to determine if the entire parameter is
empty.  T' involves a lot of processing and maybe even lookahead.  (e.g. for
T'B when B is not yet defined.) AIF (T'&X EQ 'O') should always be coded as
(N'&X EQ 0) or ('&X' eq '') or (K'&X EQ 0).

David Bond

On Thu, 1 Jul 2010 15:43:43 -0400, John P. Baker wrote:
>I am finding a strange result when using the T' attribute in a macro.
>
>If I use T'&X, and X= is NOT specified, then I receive an 'O', as expected.
>
>If I code T'&X, and X=(1,B), then for T'&X I receive 'N', for T'&X(1) I
>receive 'N', and for T'&X(2) I receive 'U'.
>
>If I code T'&X, and X=(,B), then for T'&X I receive 'O' (unexpected), for
>T'&X(1) I receive 'O', and for T'&X(2) I receive 'U'.
>
>It appears the T'&X is the same as T'&X(1), which makes it difficult to
>determine if a sublisted operand has been wholly omitted.
>
>Am I missing something here?
>
>John P. Baker

Reply via email to