• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Uniface for Beginners: How to Properly Define Numeric Parameters

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
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]

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу