Files
epics-base/documentation/new-notes/PR-678.md
Dirk Zimoch 88bfd6f378 Allow hex and octal strings in dbPut and dbGet
Setting EPICS_DB_CONVERT_DECIMAL_ONLY to YES/yes change the dbPut() and dbGet()
string to integer conversions to the original decimal only policy.
2025-11-05 10:11:06 -06:00

553 B

Allow hex and octal strings in dbPut and dbGet

It is now possible to convert hex and octal strings to integer fields with dbPut(), dbGet() and related functions like the iocsh command dbpf or through database links.

Possible incompatibility: Up to now, leading 0s have been ignored, now they switch to octal mode.

For backward compatibility, this behavior can be switched off, returning to the old decimal only conversions, by setting the environment variable EPICS_DB_CONVERT_DECIMAL_ONLY to YES (case insensitive) before iocInit.