La recherche a retourné 146 résultats

par XcasEngGuy
lun. avr. 01, 2024 6:14 pm
Forum : Xcas - English
Sujet : low level substitution
Réponses : 9
Vues : 1355

Re: low level substitution

By the way, thank you very much for this addition to subst. I use it extensively (with autosimplify off). It makes my derivations for class much more understandable.
par XcasEngGuy
ven. mars 15, 2024 12:44 am
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

With "C:\Programs_OS\xcas64\xcas.rc": widget_size([0,17,40,10],1197,140,903,833,2,0,0,[88,255,60,255,216,255,56,255,56,255,49],"'/cygdrive/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'",0,0,"","","A4",60); cas_setup(0,0,1,1,0,[1e-12,1e-15],12,[4,100,0,25],0,1,0,1),xcas_mode(0); xyztran...
par XcasEngGuy
sam. mars 09, 2024 10:46 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

Sorry for the late reply. The bandeau/scientific keyboard configuration is encoded in xcas.rc after the fontsize and geometry of the window by bits 0 and 1 of an integer, e.g. 1 here: widget_size(18,40,90,900,550,1 0 or 1 means scientific keyboard OFF/ON + 0 or 2 means Bandeau OFF/ON I just discove...
par XcasEngGuy
sam. mars 09, 2024 10:21 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

Sorry to keep asking, but have you been able to reproduce this? If not I will have to determine what's wrong with my installation. I have cygwin installed as well as xcas.
par XcasEngGuy
dim. janv. 28, 2024 11:07 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

Here is the contents of xcas.rc on my machine. widget_size([0,17,40,10],1275,90,903,927,2,0,0,[88,255,60,255,216,255,56,255,56,255,49],"'/cygdrive/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'",0,0,"","","A4",60); cas_setup(0,0,1,1,0,[1e-12,1e-15],12,[4,100,0,25],0,1,0,1),xcas_mode(0);...
par XcasEngGuy
dim. déc. 10, 2023 7:37 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

Thank you. This does load the config file. After experimenting with it, this problem acts like the bandeau configuration is not stored in the xcas.rc file. Can you tell me where the bandeau configuration is stored so I can research this further? If I know where in the xcas.rc file the visibility of ...
par XcasEngGuy
ven. déc. 08, 2023 8:00 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

I guess I should point out that the scripts I have shown above are modifications of the default scripts that come with xcas. I am puzzled that this problem can exist. Something changed after Version 1.9.0-49
par XcasEngGuy
mer. déc. 06, 2023 9:56 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

I guess I'm late bringing this up but I had a chance to switch to earlier versions of xcas and the last version without this bug was:

xcas 1.9.0-49 (c) 2000-18,

I'm running Win 10 22H2 OS build 19045.3693
par XcasEngGuy
mer. déc. 06, 2023 9:09 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

Callin my batch file with a xws file copy /Y "C:\Programs_OS\xcas64\eq_funcs_template.xws" eq_funcs.xws set PATH=C:\Programs_OS\xcas64;%PATH% rem Save path from input file for saveas dialog echo %~d1%~p1 | gclip bash.exe '/cygdrive/C/Programs_OS/xcas64/runxcas.en' %1 rem erase /P eq_funcs.xws togeth...
par XcasEngGuy
ven. nov. 10, 2023 6:26 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

if I run mintty in the xcas directory in cygwin and enter: xcas /cygdrive/c/Programs_OS/xcas64/newton.xws I get: Matt@RM /cygdrive/c/Programs_OS/xcas64 $ xcas /cygdrive/c/Programs_OS/xcas64/newton.xws // Using locale /usr/local/share/locale/ // C // /usr/local/share/locale/ // giac // UTF-8 GSL erro...
par XcasEngGuy
sam. nov. 04, 2023 5:33 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

I got xcas to run from a DOS command window using the bash inside the xcas directory using: ./runxcas.en It opens the xcas window with the proper config but I can't get it to display the messages from xcas and it doesn't open the xws file on the command line. I ran xcas.exe from the DOS window and i...
par XcasEngGuy
ven. nov. 03, 2023 10:44 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Re: Not loading configuration when started with fiename on command line

I'm using Windows 10 and it seems that it is more than that. If you drag and drop a xws file to one of the original batch files that run xcas, the same thing happens.

Matt
par XcasEngGuy
mar. oct. 31, 2023 11:53 pm
Forum : Bugs
Sujet : Not loading configuration when started with fiename on command line
Réponses : 18
Vues : 3159

Not loading configuration when started with fiename on command line

xcas 1.9.0-66 (c) 2000-18, Bernard Parisse, Renee De Graeve When I start xcas with a file on the commandline: $XCAS_ROOT/xcas.exe "$(pwd)/eq_funcs.xws" "$@" from a modified runxcas.en the Bandeau and other items at the bottom are not there. Any filename on the command line seems to cause this behavi...
par XcasEngGuy
mar. juin 20, 2023 10:56 pm
Forum : Xcas
Sujet : product(n-k,k,0,n-1)
Réponses : 1
Vues : 4789

Re: product(n-k,k,0,n-1)

I noticed:
Capture_20230620-185347.jpg
Capture_20230620-185347.jpg (56.02 Kio) Consulté 2839 fois
I think n must be a reserved variable or have special properties?

maybe it's global in the code for product ?
par XcasEngGuy
sam. juin 10, 2023 11:50 pm
Forum : Xcas - English
Sujet : is x a predefined function?
Réponses : 1
Vues : 894

is x a predefined function?

I noticed x(t) is equal to t:
Capture_20230610-194348.jpg
Capture_20230610-194348.jpg (11.61 Kio) Consulté 892 fois
Is this intended? I am including a test of all the single letter functions. I understand i and e, because they are predefined. t(t) makes no sense, so xcas assumes multiplication. I was wondering about x(t).
test.zip
(1.15 Kio) Téléchargé 37 fois