Macros for use with Progress 4GL (ProgressMacros.zip v1 by Patrick Tingen)
Submitted by Monday, 20 December, 2004 - 07:27
on
Some macros that can come in handy when working with Progress 4GL: The macros are: - Keywords_to_Lower_Case.bsh This macro converts keywords to lower case. - Keywords_to_Upper_Case.bsh This macro converts keywords to upper case (surprise eh?) - Make_Get_and_Set_Methods.bsh This macro can make get and set functions for a variable. Place the cursor on a line containing 'define variable ' and activate the macro. It will create get and set macros. It also works with multiple define statements. Just select all lines and activate the macro. define variable CustomerName as character. /* Name: getCustomerName * Desc: Returns the value of CustomerName. */ function: getCustomerName returns null: return CustomerName. end function. /* getCustomerName*/ /* Name: setCustomerName * Desc: Sets the value of CustomerName. */ function: setCustomerName returns logical (par1 as null): assign CustomerName = par1. return true. end function. /* setCustomerName*/ - ProcedureList.bsh This macro activates an advanced search command and gives a list of all internal procedures, triggers and functions in your code. It presents them using the hypersearch panel. Have fun!
Updated on 12/20/2004 - 07:53
Downloads: 1575