Is there a way to get an iterator to a collection item using a wild card? I only see two mentions of a wild card (@) in a collection key:

        Delete Collection item
        Collection has (v4)


Lets say for some strange reason I had a collection with the following keys:

01000000
01010000
01020000
02000000
02010000
02010100
03000000

I can't do
        $aa := get collection item($outline;"02@") -> 0
        or $aa := get collection item($outline;"02@";*) -> syntax error

I guess in version 4
        $aa := collection has($outline;"02@";*)

would return true, but not sure what I could do with it.

I can use brut force and use for each until I get a key = "02@", but thought there may be a different way.

Steve Alex


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to