![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How do I know when to use the "Case" script steps as opposed to the "If/Else" script steps? I have experimented with both and seem to have more success with "Case" but don't know when each is indicated. |
#3
| |||
| |||
|
|
Well, there is no Case script step, so I would suggest always using If/Else. As for functions, I see no reason to EVER use the If() function since Case() covers all possibilities all the time. CRC123 wrote: How do I know when to use the "Case" script steps as opposed to the "If/Else" script steps? I have experimented with both and seem to have more success with "Case" but don't know when each is indicated. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg (818) 883-2846 FM Professional Solutions, Inc. Los Angeles FileMaker 8 Certified Developer Associate Member, FileMaker Solutions Alliance |
#4
| |||
| |||
|
|
compile then CASE or its SWITCH equivalents. WIth that said, I've never bothered to benchmark the differences in FM let alone mimicking a caluculation to perform its equivalent script, but i would think those calculations would have to be slower (unless calcs have some optimization--i have no idea) as you to still wrap them in a call to perform script or the ilk. Bit off topic, but does make me wonder *how* to benchmakr scripts or calcs in FM? |
#5
| |||
| |||
|
|
How do I know when to use the "Case" script steps as opposed to the "If/Else" script steps? I have experimented with both and seem to have more success with "Case" but don't know when each is indicated. |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |