Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: sgsims on May 04, 2018, 11:30:03 AM

Title: Re-Ordering Stages within a Program
Post by: sgsims on May 04, 2018, 11:30:03 AM
I really like the (new I think) feature that automatically inserts a new stage below a new jump command with the next available stage number. 

It would be really nice if it would re-order all the stage #'s in sequential order also.  I'm always going back and adding stages between existing stages which of course takes the stages out of sequential order.  I just like to have the stage numbers in sequential order...maybe there is a way to do that with find and replace.

Scott
Title: Re: Re-Ordering Stages within a Program
Post by: BobO on May 04, 2018, 11:42:53 AM
I really like the (new I think) feature that automatically inserts a new stage below a new jump command with the next available stage number. 

It would be really nice if it would re-order all the stage #'s in sequential order also.  I'm always going back and adding stages between existing stages which of course takes the stages out of sequential order.  I just like to have the stage numbers in sequential order...maybe there is a way to do that with find and replace.

Scott

There isn't, but this is definitely on the wish list.
Title: Re: Re-Ordering Stages within a Program
Post by: ATU on May 04, 2018, 10:59:04 PM
One practice that helps is to break up your code into more programs keeping the stages spread out more.This gives you more stages to work with. I call them all from the Main routine. The programs are like code segments.
Title: Re: Re-Ordering Stages within a Program
Post by: davidbgtx on May 05, 2018, 08:31:17 AM
Often I add new stage in between stages, I also wish it would automatically renumber the stages in sequential order when I add in a stage.
Title: Re: Re-Ordering Stages within a Program
Post by: ATU on May 05, 2018, 08:43:23 AM
Start the numbering your stages by increments of 5 or more. Break up your sequences into individual programs if possible.
Title: Re: Re-Ordering Stages within a Program
Post by: BobO on May 05, 2018, 09:38:29 AM
Not gonna be popular with this group, but I let DmD give me numbers, and then I name the stage bits. Since I run with elements turned off, I don't even see stage numbers.

But just an FYI, we've had a stage manager on the wish list for a while. We want it to reorder (move code around) and renumber stages (numerical order, with optional space).
Title: Re: Re-Ordering Stages within a Program
Post by: sgsims on May 05, 2018, 10:01:57 AM
That's a good approach....nice to hear the reordering of stages is on the wish list!