NISUS Archives

May 2011

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bob Stern <[log in to unmask]>
Reply To:
Date:
Mon, 30 May 2011 14:51:29 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
>Žorvaršur Davķšsson wrote:
>
>Type text $startNumber+1 & '.    '
>
>then I get an error. Obviously & is not the sign to be used. What am 
>I supposed to use then instead?


I'm not a macro expert, but sometimes the NWP macro language does not 
accept compound statements.  Try something like:

$rowText = $startNumber & '.    '
Type text $rowText

Incidentally, your variable name $startNumber is confusing because 
you are incrementing it so that it actually becomes the current row 
number, not the start number.  You might want to rename it as 
$rowNumber.
-- 

Bob Stern

ATOM RSS1 RSS2