Page 1 of 1

[BR_forum] editing and line number issues

Posted: Wed May 13, 2009 12:25 pm
by John H. Bowman
Why would the following code return an error 1156 duing and ED ~



00010 !
0020 ! a real line

00820

00830 for x=1 to 10
840 pr 'x=';x
850 next x
840
0900 ! another real line



The second instance of 840 causes the error… if you remove it than it ed~ just fine… but shouldn’t the second instance of 840 be ignored since it doesn’t have a statement, just like 820 was?




John Bowman (BowmanJ@CollectionSoftware.com)
Programmer
973-575-5646
Commercial Legal Software, Inc.
170 Changebridge Road
Suite A4-2
Montville, NJ 07045
<![endif]--><![if !vml]><![endif]>

[BR_forum] editing and line number issues

Posted: Wed May 13, 2009 5:37 pm
by gordon
I'm wondering if you have a space following the line number in one case but not the other.
gordon


On Wed, May 13, 2009 at 2:24 PM, John H. Bowman <BowmanJ@collectionsoftware.com (BowmanJ@collectionsoftware.com)> wrote:

Why would the following code return an error 1156 duing and ED ~
 
 
 
00010 !
0020 ! a real line
 
00820
 
00830 for x=1 to 10
840 pr 'x=';x
850 next x
840
0900 ! another real line
 
 
 
The second instance of 840 causes the error… if you remove it than it ed~ just fine… but shouldn’t the second instance of 840 be ignored since it doesn’t have a statement, just like 820 was?
 
 
 
 
John Bowman (BowmanJ@CollectionSoftware.com)
 Programmer
 973-575-5646
Commercial Legal Software, Inc.
 170 Changebridge Road
 Suite A4-2
 Montville, NJ 07045
 
 


_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net

[BR_forum] editing and line number issues

Posted: Wed May 13, 2009 6:21 pm
by John
no trailing space on either.

-john

On Wed, May 13, 2009 at 7:37 PM, Gordon Dye <gordon.dye@ads.net (gordon.dye@ads.net)> wrote:
I'm wondering if you have a space following the line number in one case but not the other.
gordon



On Wed, May 13, 2009 at 2:24 PM, John H. Bowman <BowmanJ@collectionsoftware.com (BowmanJ@collectionsoftware.com)> wrote:


Why would the following code return an error 1156 duing and ED ~
 
 
 
00010 !
0020 ! a real line
 
00820
 
00830 for x=1 to 10
840 pr 'x=';x
850 next x
840
0900 ! another real line
 
 
 
The second instance of 840 causes the error… if you remove it than it ed~ just fine… but shouldn’t the second instance of 840 be ignored since it doesn’t have a statement, just like 820 was?
 
 
 
 
John Bowman (BowmanJ@CollectionSoftware.com)
 Programmer
 973-575-5646
Commercial Legal Software, Inc.
 170 Changebridge Road
 Suite A4-2
 Montville, NJ 07045
 
 




_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net

_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net