I definitely appreciate the callFunction() function. I understand it is a recent addition to EFS and am thankful to whoever added it.
I want more though... I wish there were a way to include functions from another file so they could be called as easily as if the functions were defined in the same efs file. For example, I have a sign() function that tells me if a number is positive or negative. If the sign() definition is in the same file I can call this function as sign(x), but if I put the definition in another file, then I have to call the function as callFunction("/bin/utilities.efs", "sign", x) — quite awkward. Does anyone know of a way to be able to just say sign(x) if sign() is defined in another efs file? Or could an include directive be an improvement to a future version of EFS?
I want more though... I wish there were a way to include functions from another file so they could be called as easily as if the functions were defined in the same efs file. For example, I have a sign() function that tells me if a number is positive or negative. If the sign() definition is in the same file I can call this function as sign(x), but if I put the definition in another file, then I have to call the function as callFunction("/bin/utilities.efs", "sign", x) — quite awkward. Does anyone know of a way to be able to just say sign(x) if sign() is defined in another efs file? Or could an include directive be an improvement to a future version of EFS?
Comment