Skip to content

Instantly share code, notes, and snippets.

@carlynorama
Created January 24, 2019 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlynorama/ca7119fdd7aac09b19934b8a2cbb6d06 to your computer and use it in GitHub Desktop.
Save carlynorama/ca7119fdd7aac09b19934b8a2cbb6d06 to your computer and use it in GitHub Desktop.
Botanical Name Script Filemaker
Let ( [
BasicName = If(IsEmpty(Genus);Family;Genus & " " & Species)
];
TextStyleAdd ( BasicName ; Italic ) )
&
If ( IsEmpty ( subspecies ) ; "";
Let (
[
var1 = " " & "subsp.";
var2 = " " & subspecies
];
var1 & TextStyleAdd ( var2 ; Italic ) )
)
&
If ( IsEmpty ( Variety ) ; "";
Let (
[
var1 = " " & "var.";
var2 = " " & Variety
];
var1 & TextStyleAdd ( var2 ; Italic ) )
)
&
If ( IsEmpty ( cultivar ) ; "";
Let (
[
var1 = " " & "'" & cultivar & "'"
];
var1 )
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment