make CALC/OCAL fields twice as long

This commit is contained in:
2025-05-22 17:01:41 +02:00
parent 45ea3d5664
commit f7778539e8
3 changed files with 7 additions and 7 deletions

View File

@ -512,7 +512,7 @@ manner for the VAL field.
promptgroup("30 - Action") promptgroup("30 - Action")
special(SPC_CALC) special(SPC_CALC)
pp(TRUE) pp(TRUE)
size(80) size(160)
initial("0") initial("0")
} }
field(INPA,DBF_INLINK) { field(INPA,DBF_INLINK) {
@ -948,7 +948,7 @@ manner for the VAL field.
prompt("Reverse Polish Calc") prompt("Reverse Polish Calc")
special(SPC_NOMOD) special(SPC_NOMOD)
interest(4) interest(4)
extra("char rpcl[INFIX_TO_POSTFIX_SIZE(80)]") extra("char rpcl[INFIX_TO_POSTFIX_SIZE(160)]")
} }
=head2 Record Support =head2 Record Support

View File

@ -660,7 +660,7 @@ manner for the VAL field.
promptgroup("30 - Action") promptgroup("30 - Action")
special(SPC_CALC) special(SPC_CALC)
pp(TRUE) pp(TRUE)
size(80) size(160)
initial("0") initial("0")
} }
field(CLCV,DBF_LONG) { field(CLCV,DBF_LONG) {
@ -980,7 +980,7 @@ manner for the VAL field.
promptgroup("30 - Action") promptgroup("30 - Action")
special(SPC_CALC) special(SPC_CALC)
pp(TRUE) pp(TRUE)
size(80) size(160)
initial("0") initial("0")
} }
field(OCLV,DBF_LONG) { field(OCLV,DBF_LONG) {
@ -1329,13 +1329,13 @@ manner for the VAL field.
prompt("Reverse Polish Calc") prompt("Reverse Polish Calc")
special(SPC_NOMOD) special(SPC_NOMOD)
interest(4) interest(4)
extra("char rpcl[INFIX_TO_POSTFIX_SIZE(80)]") extra("char rpcl[INFIX_TO_POSTFIX_SIZE(160)]")
} }
field(ORPC,DBF_NOACCESS) { field(ORPC,DBF_NOACCESS) {
prompt("Reverse Polish OCalc") prompt("Reverse Polish OCalc")
special(SPC_NOMOD) special(SPC_NOMOD)
interest(4) interest(4)
extra("char orpc[INFIX_TO_POSTFIX_SIZE(80)]") extra("char orpc[INFIX_TO_POSTFIX_SIZE(160)]")
} }
=head2 Record Support =head2 Record Support

View File

@ -63,7 +63,7 @@
* *
* This is not a hard limit, just the default size for the database * This is not a hard limit, just the default size for the database
*/ */
#define MAX_INFIX_SIZE 100 #define MAX_INFIX_SIZE 160
/** /**
* \brief Size of a "standard" postfix buffer. * \brief Size of a "standard" postfix buffer.
* *