Re: MacOS directive .func does not work


 

Had me at “nom-nom spice…”

 

From: LTspice@groups.io <LTspice@groups.io> On Behalf Of Tony Casey
Sent: Saturday, December 07, 2024 9:34 AM
To: LTspice@groups.io
Subject: EXTERNAL: Re: [LTspice] MacOS directive .func does not work

 

On 07/12/2024 17:56, Dennisc via groups.io wrote:

On Sat, Dec 7, 2024 at 02:48 AM, Tony Casey wrote:

I have circuit which uses: .func myf(nom,tol) (nom+nom*(gauss(tol/5)) 

Your expression has mismatched parentheses. You need one more closing parenthese, or you can remove the one between the * and "gauss".

Right answer! 🙂

I guess it's possible this is a transcription error since the OP says it runs on his PC. One of the reasons it's always best to upload exactly what one's using.

--

Regards,
Tony

Приєднайтеся до {LTspice@groups.io, щоб автоматично отримувати всі повідомлення групи.