NISUS Archives

May 2011

NISUS@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0
Sender:
A discussion list for Nisus & NisusWriter <[log in to unmask]>
Date:
Mon, 30 May 2011 14:51:29 -0700
Reply-To:
Subject:
From:
Bob Stern <[log in to unmask]>
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset="iso-8859-1" ; format="flowed"
Comments:
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