View previous topic :: View next topic
|
Author |
Message |
Harold Barnes
New User
Joined: 27 Oct 2015 Posts: 33 Location: United States
|
|
|
|
The error report indicates a problem with not finding what it expects after the underscore _ TYPE(INPUT)
I'm not seeing the problem.
Suggestion?
Code: |
)ATTR
_ TYPE(INPUT) INTENS(LOW)
# TYPE(INPUT) INTENS(LOW) CAPS(OFF)
)BODY
%---------------------------- Employee List -------------------------------
%Command ===>_CMDFLD %Scroll ===>_amt +;
%
+ Notes ==>#NOTES
+Make changes to any information except Employee Serial:
+
+------ Employee Name ------- --- Phone --- Employee
+Last First MI Area Number Serial
+
)Model
_LNAME _FNAME _I _PHA _PHNUM _EMPSER
)Init
AMT = PAGE
)Proc
VPUT (Notes) Profile
)End |
Code: |
* ISPP127
*
* Panel 'PAN1' error
* Field or area name missing following identifying attribute character.
*
*
* Panel line where error was detected:
*_ TYPE(INPUT) INTENS(LOW)
*
|
|
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
Works for me, after I added an ampersand to the line 'AMT = PAGE'.
Have you checked for non-displayable characters?
Do you really have all those blank lines? Not that it matters. |
|
Back to top |
|
|
Harold Barnes
New User
Joined: 27 Oct 2015 Posts: 33 Location: United States
|
|
|
|
WJ,
It still didn't work for me.
What did work was changing the _ to another character.
No, I don't have the blank lines. Copy/Paste gratuitously added those and I failed to notice.
I'm good because you took time to help.
Thanks! |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
The extra lines are possibly caused by pasting long lines - I am not sure if you can have 80 byte lines within code tags.
I have removed the extra lines, hopefully correctly. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Dialog Developer's Guide and Reference wrote: |
If not specified explicitly with the DEFAULT keyword, the default attribute
characters are:
% (percent sign) — text (protected) field, high intensity
+ (plus sign) — text (protected) field, low intensity
_ (underscore) — input (unprotected) field, high intensity |
You have to change the default if you want to use underscore for your own purpose. |
|
Back to top |
|
|
|