Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nesting level exceeded
Message
From
30/10/2003 10:57:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Nesting level exceeded
Miscellaneous
Thread ID:
00844539
Message ID:
00844539
Views:
54
I am adding the following code to an editboxes afterchange event:
**RETREIVE JUST THE MEASUREMENT READING

LOCAL lcRead, lnX, lcReturnValue, lnAsc

lcReturnValue=''

lcRead=thisform.edtmy1.getvalue()

thisform.edtmy1.setvalue('')

FOR lnX=1 TO LEN(lcRead)

          lnAsc=ASC(SUBSTR(lcRead,lnX,1))

          IF lnAsc=46 OR (lnAsc>=48 AND lnAsc<=57)

                   lcReturnValue=lcReturnValue+CHR(lnAsc)

          endif

ENDFOR

SET DECIMALS TO 5

thisform.txtnumericmy1.setvalue(val(lcReturnValue))




It returns an error: allowed do nesting or expression evaluation level exceeded.



Is there a solution to this?
Next
Reply
Map
View

Click here to load this message in the networking platform