>a = []
> add a, the text of member("blablabla").line[?].item[?]
> Now if I "put a" I get "". Is there a way to get "nothing"?
-- if you want to use a handler to check the existance/value of a and return
a result then
option1.
if a.count<1 then
return "nothing"
else return a
-- if you just want the list value set to "nothing" if the list is empty
then
option2.
if a.count<1 then
a.append("nothing")
> Also, what is the precedence of a<>0 vs a=0?
> For example, if there were several if statements referencing variable "a"
> if blabla then a = 0
> else if blablabla then
> a <>0
I don't think precendence would come into play with sort of statement.
A simple nested if else group starting with the most likely option would
only give one answer depending on the structure of the statement.
eg.
if bla then
a=0
else if blabla then
a= 0
else if blablabla then
a=1
else
a= 1
end if
OR
if bla then a=0
if blabla then a= 0
if blablabla then a=1
If you can give more of a real example it would make it easier to recommend
something here as there may be better ways to go about what your doing.
HTH
Brad
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]