What is the best way to bypass parameters you don’t want to set in a formula?
For example:
Gmail::SendEmail([User's private Gmail account], "testemail@email.com", "Subject", "Body")
That does the job, even without including optional parameters that I didn’t need to set (before today
). However, what if I want to add an optional parameter far down the list but not change any other optional parameters? Like the new hideSignature parameter of the SendEmail functionso:
Gmail::SendEmail([User's private Gmail account], "testemail@email.com", "Subject", "Body",,,,,true)
In Visual Basic (for instance) this is valid. But Coda doesn’t like this syntax. The only idea I’ve got so far is to use empty strings ("") for parameters in-between. Like this:
Gmail::SendEmail([User's private Gmail account], "testemail@email.com", "Subject", "Body","","","","",true)
Do these empty strings cause problems? (Not just in the SendEmail function but in others as well) Is there a better method? Maybe _noop() in each parameter? (doesn’t seem right, and it’s tedious to type out multiple times in one formula)