Hi Ken
That's a question for
you.
My script goes as follow
:
local theDay,
TheMonth, TheYear
...
...
-- I put a
variable into L, set itemdel to tab and check item 1 of L if it is a
date (european format)
if
matchtext( item 1 of
L,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9])",theDay,TheMonth,TheYear) is true then
...
end if
...
end if
but I have to run
the same code further in the same script. about another line in
another field.
My question
:
do I have to reset
the variable theDay, TheMonth, TheYear to empty before calling again
the same code
if
matchtext( item 1 of
L,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9])",theDay,TheMonth,TheYear) is true then
...
end if
...
end if
Thanks for your help.
--
Greetings.
Yves COPPE
Email : [EMAIL PROTECTED]
Yves COPPE
Email : [EMAIL PROTECTED]
