PDA

View Full Version : IIF(), MIN(), MAX() functions



Scott216
08-19-2023, 04:19 PM
I can't get IIF, MIN and MAX functions to work. Is this a bug in shopbot? If not, can someone send me an example or the proper format for these functions.

srwtlc
08-19-2023, 08:58 PM
Do you have an example of what you're trying to do?

Have you seen this pdf (C:\Program Files (x86)\ShopBot\ShopBot 3\Help\Calculated_Functions.pdf)?

Scott216
08-20-2023, 11:23 AM
I have seen that PDF, thanks. I don't have a current need, I just noticed that IIF, MIN and MAX don't seem to work.

Scott216
08-20-2023, 12:28 PM
Here's the code I used to test:
&A = IIF(1,4,5)
PRINT &A


&B = (min(10,3,27,15))
PRINT &B


&C = (max(1,9))
PRINT &C

This is the output:
IIF(1
(min(10
(max(1