Thread: setbb error

Started: 2014-11-14 23:18:46
Last activity: 2014-11-14 23:18:46
Topics: SAC Help
Sebastiano D'Amico
2014-11-14 23:18:46
Dear Collegue,

I have just installed SAC 09/10/2014 Version 101.6a and I have some problem
with one of my scripts.

With the older version of sac the following command use to work

setbb nn ( INTEGER ( ADD 0.1 ( DIVIDE 0.1 &1,delta )))

if I run the same script using the latest version of SAC I get the
following error

Syntax error: setbb nn ( INTEGER ( ADD 0.1 ( DIVIDE 0.1 &1,delta )))
ERROR 1016: Terminating execution of macro ../macro.resempling


Unfortunately I couldn't find out where the problem is. Do you have any
suggestion?

Thanks in advance for your help.
Sebastiano



--
*******************************************************************************
Dr. Sebastiano D'Amico
Department of Physics
University of Malta,
Msida MSD 2080,
MALTA
Tel: (+356) 2340 2101
Fax: (+356) 2133 2728
Mob:(+356) 9957 3895
e-mail: sebdamico<at>gmail.com
skype contact: sebdamico
http://staff.um.edu.mt/sebastiano.damico
*******************************************************************************
This e-mail is intended only for person or entity to which is addressed and
may contain information that is privileged, confidential or otherwise
protected from disclosure. Copying, dissemination or use of this e-mail or
the information herein by anyone other than the intended recipient is
prohibited. If you have received this e-mail by mistake, please notify us
immediately by telephone, fax or e-mail. Thank you.

Il contenuto di questa e-mail e' rivolto unicamente alle persone cui e'
indirizzato, e puo' contenere informazioni la cui riservatezza e' tutelata.
E' proibita la copia, la divulgazione o l'uso di questo messaggio o
dell'informazione ivi contenuta da chiunque altro che non sia il
destinatario indicato. Se avete ricevuto questa e-mail per errore, vogliate
cortesemente comunicarlo immediatamente per telefono, fax o e-mail. Grazie.

  • Brian Savage
    2014-11-14 18:48:21
    Dear Sebastiano

    Try:
    SAC> setbb nn (integer ( 0.1 + (0.1 / &1,delta) ) )

    The parser in sac was updated in 101.6 to handle math equations. This one slipped through the cracks during this update.

    I will fix the bug you encountered and add this functionality back to SAC.

    Brian Savage



    On Nov 14, 2014, at 9:18 AM, Sebastiano D'Amico <sebdamico<at>gmail.com> wrote:

    Dear Collegue,

    I have just installed SAC 09/10/2014 Version 101.6a and I have some problem with one of my scripts.

    With the older version of sac the following command use to work

    setbb nn ( INTEGER ( ADD 0.1 ( DIVIDE 0.1 &1,delta )))

    if I run the same script using the latest version of SAC I get the following error

    Syntax error: setbb nn ( INTEGER ( ADD 0.1 ( DIVIDE 0.1 &1,delta )))
    ERROR 1016: Terminating execution of macro ../macro.resempling


    Unfortunately I couldn't find out where the problem is. Do you have any suggestion?

    Thanks in advance for your help.
    Sebastiano



    --
    *******************************************************************************
    Dr. Sebastiano D'Amico
    Department of Physics
    University of Malta,
    Msida MSD 2080,
    MALTA
    Tel: (+356) 2340 2101
    Fax: (+356) 2133 2728
    Mob:(+356) 9957 3895
    e-mail: sebdamico<at>gmail.com
    skype contact: sebdamico
    http://staff.um.edu.mt/sebastiano.damico
    *******************************************************************************
    This e-mail is intended only for person or entity to which is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this e-mail by mistake, please notify us immediately by telephone, fax or e-mail. Thank you.

    Il contenuto di questa e-mail e' rivolto unicamente alle persone cui e' indirizzato, e puo' contenere informazioni la cui riservatezza e' tutelata. E' proibita la copia, la divulgazione o l'uso di questo messaggio o dell'informazione ivi contenuta da chiunque altro che non sia il destinatario indicato. Se avete ricevuto questa e-mail per errore, vogliate cortesemente comunicarlo immediatamente per telefono, fax o e-mail. Grazie.


    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


07:46:36 v.b4412d20