Compile time Serge Surge
Compile time Serge Surge
- Subject: Compile time Serge Surge
- From: Andy Wylie <email@hidden>
- Date: Thu, 25 Jul 2002 18:02:33 +1200
I was kinda surprised this works fine...
property bigList : {hardcoded big list}
on _bar()
script
property _List : my bigList
end script
end _bar
property _wrappedList : _bar()
on findOffset(theEntry)
repeat with n from 1 to count (my _wrappedList's _List)
tell my _wrappedList
if (item n of it's _List) = theEntry then return n
end tell
end repeat
error "Item '" & theEntry & "' not found."
end findOffset
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.