Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12042
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Validate codeblock |
| Date | 2018-10-10 23:10 -0400 |
| Organization | albasani.net |
| Message-ID | <ppmeui$a19$1@news.albasani.net> (permalink) |
| References | <d759701d-667c-4baa-8074-3369aedcb190@googlegroups.com> |
Eval the code block in the begin sequence block:
Code snippet:
BEGIN SEQUENCE
bFor := &("{||"+cFor+"}")
Eval(bFor)
lSuccess := TRUE
RECOVER
lSuccess := FALSE
END SEQUENCE
Jamal
wrote in message
news:d759701d-667c-4baa-8074-3369aedcb190@googlegroups.com...
If the customer wants to "Replace()", he enters a "For" condition, which I
transfer into a codeblock with:
bFor := &("{||"+cFor+"}")
If the client enters illegal "For" (for example a field name misspell), the
"Replace" crashes the program.
1. Can I validate the codeblock before the Replace() ?
2. I tried to envelope the "Replace" with Begin Sequence & Recover.
It still crashes.
Thanks for any help
Henry
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Validate codeblock ZodcomagGmbH@yahoo.com - 2018-10-10 12:43 -0700
Re: Validate codeblock "Jamal" <noooospam@example.com> - 2018-10-10 23:10 -0400
Re: Validate codeblock ZodcomagGmbH@yahoo.com - 2018-10-11 02:16 -0700
Re: Validate codeblock "Jamal" <noooospam@example.com> - 2018-10-11 12:20 -0400
Re: Validate codeblock Leo_Bond <l.bond@bk.ru> - 2018-10-11 11:13 -0700
Re: Validate codeblock ZodcomagGmbH@yahoo.com - 2018-10-11 11:55 -0700
Re: Validate codeblock ZodcomagGmbH@yahoo.com - 2018-10-11 11:15 -0700
Re: Validate codeblock "Jamal" <noooospam@example.com> - 2018-10-12 00:48 -0400
Re: Validate codeblock ZodcomagGmbH@yahoo.com - 2018-10-12 04:25 -0700
csiph-web