EGL Reference Guide for iSeries
To practice content assist, do as follows:
- Open a new EGL file.
- On an available line, type P (for page handler or program) and
press Ctrl + Space.
- When a pop-up is displayed, click an icon for the part to
customize. Do either of these steps:
- Press Enter to select the first icon in the list; or
- Use the arrow keys to select another icon (for a program) and press
Enter.
The editor places a part template in your file.
- Customize the part.
When the template is displayed, the editor highlights the first area where
you need to type information; in this case, specify the part name.
After you type, press Tab to highlight the next area where you need
to type.
You can use the Tab key repeatedly, and this use of the key is
available until you reach the end of the file or until you change your in-file
position in any other way.
- To insert a function into your program or page handler, type F
(for function), then press Ctrl + Space. Although you can
select a part template again, do as follows
- Use the arrow keys or your mouse to scroll to the end of the list
- Press Enter or click the word Function; note that
the absence of an icon means that you are selecting a string rather than a
part template
The ability to select a string is more useful in other contexts, such as
when you want to type a variable name quickly.
- With the cursor at the end of the word Function, press
Ctrl + Space and click an icon from the list.
The editor places the function template in your file.
- Customize the part.
- As you develop your code, periodically press Ctrl + Space to
understand the range of services that are provided.
Related reference
Content assist
Function part in EGL source format
PageHandler part in EGL source format
Program part in EGL source format
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.