[BR_forum] editing and line number issues

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
John H. Bowman

[BR_forum] editing and line number issues

Post 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]>
Attachments
image001.gif
image001.gif (7.66 KiB) Viewed 4790 times
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

[BR_forum] editing and line number issues

Post 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
Attachments
image001.gif
image001.gif (7.66 KiB) Viewed 4790 times
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

[BR_forum] editing and line number issues

Post 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
Attachments
image001.gif
image001.gif (7.66 KiB) Viewed 4790 times
John Bowman
Post Reply