Page 1 of 1

Run button behaviour?

Posted: Tue Feb 22, 2022 10:05 pm
by Helpdesk
If I compile and run an example, then load and compile a different example, the run button runs the first example, not the one that was just compiled. Closing the IDE and opening it again allows the correct example to be launched via the run button. This seems to be a persistent phenomenon.

Re: Run button behaviour?

Posted: Tue Feb 22, 2022 10:13 pm
by cfbsoftware
The Run button behaviour that you describe is ‘as designed’. There are two Run menu items, Run and Run Again. The button corresponds to the Run Again function as that is more frequently used and doesn’t require the entry of any parameters. If you switch to a new example, you need to select Run from the menu (or type Alt-P-R) the first time that you run it.

However, as you have pointed out, when you select Run Again (or click on the Run Again button), for the first time in a new CPIde session, it is the same as if you had selected Run.