|
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
Jeremy et al.
I know most of us are keeping separate repositories based on the work we do with custom functions. The question is this… “Do we have the will and desire to consolidate these various repositories into a unified repository?”
For example. I’ve made a few changes to the #Assign function which allows it to support weakly typed parameters with missing semi colons because there are times where I don’t use #() to create my parameters.
Do we really want to do patches to individual functions and treat the fmpstandards repo as an island or shall we just do full merges from the forked forked repos.
I don’t know how many personally rely on the fmstandards repo anyway.
Matt
GetNameList (
# ( "name" ; "value" ) & # ( "foo" ; "bar" );
)
= List ( "name" ; "foo" )#Remove ( parameters ; removeParameters )
The #Remove function returns a dictionary containing only those name-value pairs where the name is not included in the return-delimited list removeParameters. This is complementary to the #Filter function.
Code Block
Assign ( #Remove (
Assign ( Get ( ScriptResult ) )
#GetScriptParameter ( name )
This function is exactly equivalent to this calculation:
Code Block
Get ( Get ( ScriptParameter ) ; name )
#GetScriptResult ( name )
This function is exactly equivalent to this calculation:
...
View page
•
Add comment
•
Like
Stop watching space
•
Manage notificationsThis message was sent by Atlassian Confluence 5.6.6
You received this message because you are subscribed to the Google Groups "FileMaker Development Standards" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fmstandards...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
On 18 Nov 2015, at 8:03 am, Matt Petrowsky <petrows...@gmail.com> wrote:
Jeremy et al.
I know most of us are keeping separate repositories based on the work we do with custom functions. The question is this… “Do we have the will and desire to consolidate these various repositories into a unified repository?”
For example. I’ve made a few changes to the #Assign function which allows it to support weakly typed parameters with missing semi colons because there are times where I don’t use #() to create my parameters.
Do we really want to do patches to individual functions and treat the fmpstandards repo as an island or shall we just do full merges from the forked forked repos.
I don’t know how many personally rely on the fmstandards repo anyway.
Matt
On 17 Nov 2015, at 12:24, Jeremy Bante (Confluence) wrote:
View page
•
Add comment
•
This message was sent by Atlassian Confluence 5.6.6
You received this message because you are subscribed to the Google Groups "FileMaker Development Standards" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fmstandards...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Before you throw out the argument of this adding performance overhead
because of functions like PatternCount, I'd like to make the argument
that #Assign is a convenience function.
If I (or any other developer) is going to be composing a script for the
purpose of the best possible performance, then obviously using straight
positional parameters in order to bypass the overhead of calling custom
functions is going to be the preferred solution.