View previous topic :: View next topic |
Author |
Message |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Wed Jun 01, 2005 12:20 pm Post subject: RETURN Keyword in first line of the panel causing a problem |
|
|
I have a panel defined with 16 input lines.
ENTER YOUR TEXT : TEST_____________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
Note that in the first line you had the word TEST and it successfully goes to subsequent panels. But, if i have the word RETURN as the first word in that first line, the application terminates abnormally. When I hit an enter, instead of giving a RC of 0, it assumes it to be 8 and ends the application. I tried saying the value of the first line, when i typed in RETURN - It doesn't even show me the value in the panel variable. I'm not facing this problem if I have RETURN as the first word in second line, keeping the first line blank.
Any suggestions.
Cheers,
Coolman
________
BMW X history
Last edited by coolman on Sat Feb 05, 2011 1:43 am; edited 1 time in total |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Jun 01, 2005 12:46 pm Post subject: |
|
|
Try adding a command line as the first line above ENTER YOUR TEXT. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Jun 01, 2005 1:07 pm Post subject: |
|
|
or add CMD() to the )BODY statement. Adding a command line is definitely preferable. |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Wed Jun 01, 2005 2:10 pm Post subject: |
|
|
Thanks Bithead and Semigeezer. I went with adding CMD() to the )BODY stmt
________
vapolution vaporizer |
|
Back to top |
|
 |
|
|