Skip to main content

Global constants behave differently under UF 10 than under UF 9

  • February 25, 2026
  • 2 replies
  • 19 views

Ingo Stiller
Forum|alt.badge.img+3

Just for your information*)
In UF 9, I had stored a list with GOLD- as a constant. That worked well.
In UF 10, constants are created textually in DEFPARAM, and the semicolon acts as a comment character.
The nice list is ruined :-(
*) Even if Uniface were to correct this, it would take forever for it to be delivered in a version.
“Unfortunately”, I need it right now. As a workaround, I used a pipe symbol instead of GOLD-;.
And, of course, I have to convert | back to GOLD-; wherever it is used.

2 replies

Iain Sharp
Forum|alt.badge.img+5
  • Inspiring
  • February 25, 2026

Hmm, I definitely have lists in DEFPARAM e.g. 

#ifdefined POPUPLIST

#info symbol POPUPLIST is already or also defined as a global or local constant

#endif

#define POPUPLIST="MSG=Sales Order Popup.;PIM=Purc. Invoice Popup.;POM=Proc. Order Popup.;RCM=Receipt Popup.;PKM=Picking Popup.;DPM=Despatch Popup.;INM=Invoice Popup.;CIM=Credit Popup.;GIM=Goods In Popup.;GOM=Goods out Popup.;LAP=Load Alloc. Popup.;SAP=SIngle Customer Alloc Popup.;SCP=Service Call Popup"

#Comment 

Edit:(Golds replaced with .; because the forum can’t handle the special character)

 

And this definitely works in the compiled programs where it needs it to be a list. 

We also have constants where they are not surrounded by “”, but the “” are in the program using them, they also work. So I suspect you have a different usage case for your list constant. 

How is it used that it is not enclosed in quote marks? 

 

 


Larry Adkins
Forum|alt.badge.img+1
  • Participating Frequently
  • February 25, 2026

That is really inconvenient. I would still report it and pray it makes it to a patch very soon. I was pleasantly surprised by the patch turnaround time to resolve the 10.4.03 logical printer issue. It was a little more than a month. It sounds like this issue should be easy to duplicate.