Doubt about Progress 4GL

Asked

Viewed 127 times

0

I’m new to Progress development, and I’m having a hard time understanding what this piece of code does:

define variable cRunFile as character no-undo initial "gpldnfbr.p".

        {us/gp/gpmnp02.i cRunFile 10 """(input p_oid_lgdd_det,
                                         output p_exclude_app)"""}

I asked for a little help here and my supervisor told me that it’s a hook that calls another program, but I still wondered, it wasn’t very clear, you know.

1 answer

-1

I work with Progress 4gl for about 9 years, rs... I will try to explain what I understand...

  • define variable - Standard definition of variable
  • cRunFile - Variable Name
  • as character - Type of Variable
  • no-undo - No need to store for possible shredding
  • initial "gpldnfbr.p" - Initial value of the variable

  • {us/gp/gpmnp02.i - Include file as if the contents were inside the program, just a way to make the code cleaner

  • cRunFile - Calling the "gpldnfbr.p" declared in the variable
  • 10 - I believe it is the value of a parameter
  • """(input p_oid_lgdd_det, - Input parameter
  • output p_exclude_app)"""} - Output parameter

I hope I contributed :)

  • Hello @Luciano, I made an issue in your reply, see if it represents your intention, if not you can reverse it here. =D

  • Thanks @Icaromartins, while editing was with line breaks, when posted all...I need to learn how to move more here...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.