Pattern Match..?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Pattern Match..?

Post by topcat888 » Sat Jan 05, 2013 2:58 pm

Hi,

If I have two text field boxes with numbers entered into them, I then want to be able to compare them and if they match (i.e. the same numbers in each) then if true go on to do something else

Is there an easy way to do this code wise.?

Cheers

doc
Posts: 148
Joined: Fri Jun 09, 2006 4:30 pm
Location: Oklahoma, USA

Re: Pattern Match..?

Post by doc » Sat Jan 05, 2013 4:00 pm

Hey topcat888,
The short answer is... yes, and by using several different methods.
I've attached a sample stack showing at least two methods.

Hope that helps,
-Doc-
Attachments
FieldCompare.rev.zip
(1.38 KiB) Downloaded 195 times

topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Re: Pattern Match..?

Post by topcat888 » Sat Jan 05, 2013 6:11 pm

Thanks Doc, that easy...

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”