Extended property types

As well as the built-in variable types we saw above (int, string, warrant, etc) an application can provide its own types. These are referenced a bit like application variable, but we use a ! which appears inside braces:


connect app4 fourth-warrant.xml               # Connect to a running application
set n={!app4.stringarray:first,second,third}  # Set a new variable to be its
                                              # special "stringarray" type.

# Now execute its command which takes two stringarray parameters

app4.makelist $n {!app4.stringarray:fourth,fifth}

The interpretation of the strings first,second,third and fourth,fifth are entirely specific to that particular application and its own stringarray type.

Nik Silver 2002-03-09