2 questions

Mark Wieder mwieder at ahsoftware.net
Sat Feb 26 13:33:32 CST 2005


Rob-

Saturday, February 26, 2005, 6:28:19 AM, you wrote:

RM> Is there a revolutionary equivalence for this Toolbook example

RM> 1.
RM> to get mydate
RM> return label of button "today"
RM> end
RM> suppose the label = "24-02-2005"
RM> then this command will show that:
RM> put mydate()

Not quite sure what you're trying to do here. If you're just looking
for the label of the button then

function mydate
  return the label of button "today"
end mydate

will do the trick. If you're looking to validate the fact that the
label is a valid date or is within a range of dates then we're on to
something else.

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list