Unify flags output -> 1, change settings
Publié : mar. août 22, 2017 1:56 pm
Hello
As FlagCmdName() returns the value of the flag (rcl value), then FlagCmdName(#) should return 1 alias of executed
// examples: set flags
1:
autosimplify(2) returns
1
2:
xcas_mode(0) returns
"Warning: some commands like subs might change arguments order"
Why a string and not 1?
idea
xcas_mode(0) returns
"Warning: some commands like subs might change arguments order"
1
3:
approx_mode(0) returns
0. Why 0 and not 1?
idea
3:
approx_mode(0) returns
1
// rcl
4:
approx_mode() returns
0
5:
xcas_mode() returns
0
6:
xcas_mode(0) returns
2
As FlagCmdName() returns the value of the flag (rcl value), then FlagCmdName(#) should return 1 alias of executed
// examples: set flags
1:
autosimplify(2) returns
1
2:
xcas_mode(0) returns
"Warning: some commands like subs might change arguments order"
Why a string and not 1?
idea
xcas_mode(0) returns
"Warning: some commands like subs might change arguments order"
1
3:
approx_mode(0) returns
0. Why 0 and not 1?
idea
3:
approx_mode(0) returns
1
// rcl
4:
approx_mode() returns
0
5:
xcas_mode() returns
0
6:
xcas_mode(0) returns
2