Chapter 16 Working with PowerBuilder


Operation generated header

If the operation extended attribute GenerateHeader is set to true, the operation header will be generated. This attribute is set to true for any new operation. You can force header generation for all operations in a model by setting the ForceOperationHeader extended attribute to true.

Operation headers are generated in the following way:

//<FuncType>:  <Operation signature>
//Description: <Operation comment line1>
//              <Operation comment line2>
//Access:      <visibility>
//Arguments:   <parameter1 name> - <parameter1 comment line1>
//                                  <parameter1 comment line2>
//              <parameter2 name> - <parameter2 comment>
//Returns:     <Return comment>
//              <Return comment2>

Header item Corresponds to
FuncType Function, Subroutine or Event
Description Comment typed in operation property sheet
Access Visibility property in operation property sheet
Arguments Parameter(s) name and comment
Returns Value of ReturnComment extended attribute in operation property sheet
User-defined comment Value of UserDefinedComment extended attribute in operation property sheet

 


Copyright (C) 2005. Sybase Inc. All rights reserved.