First off, sorry if my title is bad, didn’t know what else to call it.
Say I have a function with inputs like these:
function readBi4Array(typ::Cat,SeekNull::Bool=false,Bi4Files::Array{String,1}=_dirFiles())
Where “typ” is always an enum named Cat, SeekNull is always a Bool and Bi4Files is always a string array. Then the following works:
k = readBi4Array(Idp,true)
But I am not able to do:
t =
3-element Array{String,1}:
"Part_0101.bi4"
"Part_0102.bi4"
"Part_0103.bi4"
k = readBi4Array(Idp,t)
I understand why, it expects a bool, but is there any easy way to make it so that it skips the bool and inserts “false” and then inserts t at array? I know I can do:
k = readBi4Array(Idp,false,t)
But I want to see if there is another option.
Kind regards