Uniface for Beginners: How to Properly Define Numeric Parameters

uniface-for-beginners:-how-to-properly-define-numeric-parameters

Hello together,

During my search with the AI Perplexity, I did not find good results to determine how to specify a number as a parameter or as a variable in Uniface. Although there is Uniface documentation [1] on this, it was not found. I do not understand why the AI cannot find the definition of a number in Uniface, even though there is a source for this.

To make the best of it, I decided to write down my thoughts here. I do not consider myself a Uniface Senior or some kind of specialist in Uniface but rather as a beginner in this programming language.
In the past, when I had questions about a problem with a programming language like Java or C#, I used the search engine Google. Currently, due to the hype around ChatGPT, I use more of an AI like ChatGPT or Perplexity. Unfortunately, both provide me with rarely good results for the programming language Uniface, as there is too little source code and too few contributions on the internet about this.

Regarding the question of how to represent a number in Uniface, the answer is the following:

params
numeric pPrice, pQuantity, pTotal : IN
endparams
pTotal = pPrice * pQuantity

Taken from the documentation of Uniface.

I hope I could help you a little bit with this problem and share my thoughts with you to show that you might not be the only one with this problem.

[1] https://docs.rocketsoftware.com/de-DE/bundle/uniface_104/page/yeo1699862389212.html

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
number-guessing-game-in-java

Number Guessing Game in Java

Next Post
how-the-richest-in-crypto-think

How the Richest in Crypto Think

Related Posts