Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Hi Thomas
>a=seconds()
>#define IsThereAFieldCalled !SPace(0)==Field
>*-- Space may be a tad slower than "" or '',
>*-- but removing the string marker makes it less brittle
>*-- in case of string-building for eval-situations
>for x = 1 to m.lnStop
> y=IsThereAFieldCalled("somefield","somealias")
>endfor x
>?seconds()-m.a
Very cool. I've used that before and it is very fast. It's just not as flexible as I'd like. You had to pre-code the formula in such a way as to make the ("somefield","somealias") the last part. My SnippetFactory lets me inject any number of "parameters" anywhere in a forumla or snippet with the result being evaluated.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only