Very easy question
janschenkel at yahoo.com
Thu Sep 5 06:24:01 CDT 2002
--- sschofield <sschofield at computing.dundee.ac.uk>
> Ha ha, forgot the breaks. Now why do I only notice
> that soon as I hit the
> send?Without the semicolons at the end of the lines
> I go into vb mode. Weak
> excuse I know! Rest of question, ie how to shorten
> script/learn script
> still applies
Hi, and Welcome to the RunRev community :-)
To learn scripting skills, you could download the
MetaCard tutorial on the Metacard ftp-site. Goto:
And download the files:
Open mtp.mc from RunRev and go through the tutorials.
That should get you a long way.
As for your script, try this:
switch (field "login")
## field "login" = the text of field "login"
put "hello susie" into field "MyMessage"
put "hello ros" into field "MyMessage"
put "not registered" into field "MyMessage"
## no break needed here, as it's the last one
Hope this helped,
"As we grow older, we grow both wiser and more foolish
at the same time." (De Rochefoucald)
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
More information about the use-livecode