Paradox Community

Items in pnews.paradox-programming

Subject:isEmailAddress()
Date:Sun, 28 Jul 2019 05:14:59 -0400
From:Kevin Baker <shcsbaker@gmail.com>
Newsgroups:pnews.paradox-programming
Hi Everyone,

Was looking into the undocumented methods this weekend and came across 
isEmailAddress.  I did a search on the forms and didn't find any post on 
this method.  I created a single button form to test this method and it 
works.  Does anyone have any experience is using this?  Think it's okay 
to use in production code?


Here's the code on the button:

var
    em string
endvar

em = "shcsbaker@gmail.com"

if isEmailAddress(em) then
    msginfo("Message","Is valid.")
else
    msginfo("Message","Not valid.")
endif

Thanks
Kevin


Copyright © 2004 thedbcommunity.com