|
Post by mueh on Nov 13, 2023 1:52:07 GMT -5
Hi George ! Thanks for 23313 which is working nearly perfect . Below code writes MRFLIST if END is specified but about 33 lines down the MRFLIST is set to null .
METHOD pCmdINSTANCE(pCmd AS STRING)
IF gfEndAll AND oEND THEN ' If shutting down with END
gSQL.UpdateString("O", "MRFList", FileOpen) ' Save the MRF
ELSEIF gfEndAll AND oCANCEL THEN ' If shutting down with CAN
gSQL.UpdateString("O", "MRFList", "") ' Save a null MRF
END IF
|
|
|
Post by mueh on Nov 13, 2023 2:27:34 GMT -5
In Doc there are 2 references to -O instead of -F in "Switching to the existing Instance" and "Switching Instances and keeping the active tabs" .
If -F fileopen-name is specified with filename only (no path) it's expected in Current Directory ( which is path of last opened file ) . Maybe Home Folder of CFG file should be used as default path . No real problem since i can set Current directory in tbasic macro . Thanks
|
|
|
Post by George on Nov 13, 2023 9:16:51 GMT -5
MUEH: Yes, the clearing of MRF should not be there - removed. And I added the Homefolder if no path specified on the -F filename. I'll check the Doc - Again! Don't know how they were missed. --- Corrected.
George
|
|
|
Post by mueh on Nov 29, 2023 10:56:01 GMT -5
Hi George ! After 23332 INST with -F * fails with msg "INSTANCE -F FILEOPEN file does not exist" Thanks for the additions .
|
|
|
Post by George on Nov 29, 2023 11:17:39 GMT -5
MUEH: Yes, the code got into a slight "chicken and the egg" mixup.
I bet you and I are the only ones who have a hope of getting an INSTANCE command correct.
In the next Beta.
George
|
|