DEV Community

Cover image for Are there module-global variables in Uniface using $variable$?
mi2824
mi2824

Posted on โ€ข Edited on

Are there module-global variables in Uniface using $variable$?

Hey everyone, ๐Ÿ‘‹

I've recently been working with Uniface and someone told me that module-global variables exist in Uniface. These are supposedly recognizable by a dollar sign ($) before and after the variable name, such as:
$temp$
However, when I searched for the term "module global variable" in the Uniface documentation, I couldnโ€™t find any results. ๐Ÿค”

My questions:
๐Ÿ”น Are these variables really module-global, or do they have another function?
๐Ÿ”น Where can they be defined and accessed?
๐Ÿ”น Is there an official list of these $variables$ in the documentation?

Would love to hear from anyone with Uniface experience! ๐Ÿš€

Thanks in advance! ๐Ÿ˜Š

This article was created with the help of AI

Top comments (1)

Collapse
 
mi2824 profile image
mi2824 โ€ข

My colleague told me that if the module global variable is defined in a service A, it can only be used in service A and not in service B or service C

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay