text does not match the contents of a list of prop

Hi all

I wonder if there is a way to translate the following code:

(tText <>gRealAnswers2 [#a] AND tText <>gRealAnswers2 [#b]):

to something like

If tText is not equal to all the content of the list of properties gRealAnswers2. In addition, copy the following code:

(tText = gRealAnswers2 [#a]):

-do something

(tText = gRealAnswers2 [#b]):

-do something else

to the fi tText = the position of the first element of the list of properties, then "do something". If tText = to the position of the second element of the list of properties, then "do something else".

Here is my list of property:

gRealAnswers2 = [#: 'three', # b: '4']

and my tText = member("test").text - or the text of the test on my stage member.

Please forgive me if what I am asking is not possible, this is the first time I use these property lists and I feel a bit confused!

Thanks a lot for all the great help so far!

case gRealAnswers2.getOne (tText) of

#a:-do something
#b:-do something else
otherwise:-no match

cases of termination

Note that lists are case-sensitive so it might be good to convert responds to lowercase before checking it in.

Tags: Director

Similar Questions

Maybe you are looking for

  • Null reference close behavior

    Hello I have a question about the behavior of the reference 'close' when you try to close a Null reference.  LabVIEW which will examine and pass or it will produce an error?  I also read in the 'help' that you can give a table of references and it cl

  • GTA 4 with parental control

    I can not open the game because of parental controls (the program to say), but I run it in admin account already...If anyone has a solution please inform me at

  • Liquid E1 NFC problems

    Hello world So I can't use my NFC... I tried to connect my phone today (NFC) to a sound system, led NFC in the settings... but that's happened to notting...NFC box is checked, but the text is not white gray (I think that white is 'active'?) And also

  • Which is to check the StatusMonitor3 environment and why it sometimes stops it working?

    Running Vista Home Basic on a Toshiba Satellite laptop. Once from time to time, I get the following message from Windows: StatusMonitor3 environment check has stopped working and was closed. A problem with the application to stop functioning properly

  • Printing from my iPad on HP photosmart 7520

    Please, how to print from the 6 x 4 paper tray or change for the A4 tray? When I try to print a photo it still prints 4 x 6 and sometimes I A4? There is no menu or options on my iPad to decide which! Thank you very much in anticipation. Sue