steps to reproduce the error
A: I start a new session
then I press file/save by default put the name session.xws, I write worksheet1.wsx on the path
C:\xcas\functions\worksheet1.wsx // ok
B: I write a function: Prg/New program
Code : Tout sélectionner
f1(x): = {
local k;
return x * x;
} :;
f1(y) returns y^2 // ok
C: then to press [save] (program editor) by default xcas put the name session0.cxx, then I locate where to store it
C1: then press Prog menu/ save as for example
C:\xcas\functions\f1.cxx
appears next to the [save] button, the path of the file name C:\xcas\functions\f1.cxx // ok
D: with a program editor as notepad open f1.cxx // ok
E: then I edit the program with the xcas program editor
f1 (x): = {
local k;
return x * x * x;
} :;
f1(y) returns y^3 // ok
and press again [save] (program editor)
I go to the notepad editor and sometimes the change is reflected, sometimes not.
other times when you press the save button, a pop-up window appears with a different name than the one previously stored (f1.cxx), to show the name of (session0.cxx).
F: Now if I close the session and open again, in the field next to the SAVE button, the file path does not appear, as a suggestion,
the path where the function was saved should be stored in the internal file (worksheet1.wsx),
also try to automatically put the name of the file in place of sessionx.cxx, of course this is only when a single function is defined, within the program editor.
Also, please press the [save] button to generate a popup window that shows the storage path, in order to know if the file was really modified