Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Choose a version number matching a specification
ResourceFunction["SelectVersionNumber"][versions,spec] selects the highest version number from versions that satisfies the specification spec. |
"^x.y.z" | any higher version starting with "x" |
"~x.y.z"|"~x.y" | any higher version starting with "x.y" |
"~x" | any higher version starting with "x" |
Select the largest version less than a specified value:
In[1]:= |
Out[1]= |
Look for a specific value:
In[2]:= |
Out[2]= |
Use caret notation:
In[3]:= |
Out[3]= |
Use tilde notation:
In[4]:= |
Out[4]= |
Use a wildcard:
In[5]:= |
Out[5]= |
Combine multiple restrictions using And:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
Combine multiple string notations with commas:
In[8]:= |
Out[8]= |
When no versions match the specification, a Missing result is given:
In[9]:= |
Out[9]= |
Using equal notation is the same as giving the version directly:
In[10]:= |
Out[10]= |
In[11]:= |
Out[11]= |
This work is licensed under a Creative Commons Attribution 4.0 International License