Transcript questions

Ken Ray kray at
Fri Feb 8 15:27:01 EST 2002


The "getProp" control stucture is tremendously useful; it allows you to trap
whenever a custom property has been set, and take action based on that.
Suppse you wanted to take action based on the value of essentialData? For
example, you wanted to run a handler called "DoIt" whenever essentialData
was set with a value of "Hello". This is where 'getProp' is very useful:

getProp essentialData pPropValue
  if pPropValue = "Hello" then
  end if
  pass essentialData   -- so the value of essentialData can be updated
end essentialData

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site:

----- Original Message -----
From: "Devin Asay" <devin_asay at>
To: <use-revolution at>
Sent: Friday, February 08, 2002 12:39 PM
Subject: Transcript questions

> 1. getProp control structure - Other than for implementing virtual
> properties, why would this structure ever be used?  I don't need to
> use it to access custom properties; I only have to refer to the
> custom property in a statement:
> put the essentialData of group "myGroup" into mydata
> Using a getProp structure seems like an unnecessary complication.
> 2. The open file command has an optional _for_ form (open file for
> update | read | write | append.)   I think I understand what each
> form does, but what is the default?  If I simply use "open file
> <filename>" does it open "for update" by default?
> --
> Devin Asay
> Humanities Research Center
> Brigham Young University
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list