How to write progress procedure? - I am new

roopeshperla

New Member
Hi, I am new to Progress and i want to know how & where to write procedures for progress.

Can i find any where a Help document for this?

My Requirement

1. Get the customer who are added to the system Today and generate a file with customer & address information.

TIA
-Roopesh
 

lord_icon

Member
Procedure example syntax

/* definitions */
DEFINE VAR cVar AS CHAR NO-UNDO.

PROCEDURE bob.
message 'bob procedure' view-as alert-box.
END PROCEDURE.

/* main block here */

DO:
RUN bob in THIS-PROCEDURE.
END.
 

smapdi636

New Member
Definitely check out the documentation. The Handbook and Reference books cover all the basics and will get you started.

Code:
/* untested */
output to "c:\test.txt".
for each customer
where customer.add_to_system_date = today
no-lock:
  put unformatted customer.name customer.address skip.
end.
output close.
 
Top