Skip to main content

How the AMB editor auto-complete handles the PROC and PARA keywords

  • October 5, 2017
  • 0 replies
  • 0 views

Problem:

When a user tries to type the PROC keyword in the AMB editor, the auto-complete quickly enters "PARA" after he types the letter "P",  before he gets a chance to enter the second letter "R".

 

Solution:

The user was typing in more than one PROC keyword in his program. The way the AMB editor auto-complete works is as follows:

When P is entered in the keyword area, the AMB Editor scans for the 'PROC' keyword:

Because there can only be one PROC per program, if the 'PROC' keyword is found before the line where 'P' is entered in the keyword area, 'P' will be auto completed into 'PARA'.

- If no 'PROC' is found there will no auto completion.


#MFDS
#EnterpriseDeveloper

0 replies

Be the first to reply!