Once a file with extention .BAS was double-clicked and associated to BASIC.exe, since then when a file with extention .BAS is double-clicked, the program is executed.
If you want double clickking to show the program within a editor, follow the next.
Open BASIC.ini, which lies in BASICw32 folder, within a editor, like Notepad.
(1)When the following two lines are excluded.
[Setup] Registry=1
Put the following two lines into BASIC.ini.
[Frame] NoRun=1
Except that when [Frame]readily exisits, only add one line NoRun=1 below [Frame] line.
(2)When the following two lines are included.
[Setup] Registry=1
If you agree to stop using the registry, rewrite the second line as Registry=0 and follow described above.
If you want to continue to using the registry, launch the registry editor and open the key
HKEY_CURRENT_USER\Software\Classes\BAS_auto_file\shell\open\command
And then modify (default) value data inserting /NR between BASIC.EXE" and "%1".
Oterwise launch the registry editor and then open the folder
HKEY_CURRENT_USER\SOFTWARE\DecimalBASIC\BASICw32\Frame
and add new key NoRun with value 1.
.