I observed a difference between 7.1 and 7.0 where an "if" can have
multiple "else" was not result an error into 7.0 but 7.1 can catch this
wrong block. Is this true or I have misunderstood the thing.
Sample code :
(if (> 5 9) then
(printout t "Test -1 ")
else
(printout t "Test -2 ")
else
(printout t "Test - 3 ")
)
In 7.0 the code results in :: Test-2 Test-3
While 7.1 :: Exception in thread "main" Jess reported an error in routine
Jesp.Jesp.parseFuncall.
Message: No new blocks after 'else' block in 'if' at token 'else'.
Avdhesh DIXIT
Consultant Specialist | HSBC Technology and Services - Global Technology
HSBC Software Development (India) Private Limited
_____________________________________________________________________
Phone. 91 0 20 66423236
Mobile. 9881371027
Email. [email protected]
_____________________________________________________________________
************************************************************
HSBC Software Development (India) Pvt Ltd
HSBC Center Riverside,West Avenue ,
25 B Kalyani Nagar Pune 411 006 INDIA
Telephone: +91 20 26683000
Fax: +91 20 26681030
************************************************************
-----------------------------------------
*******************************************************************
This e-mail is confidential. It may also be legally privileged.
If you are not the addressee you may not copy, forward, disclose
or use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the
sender immediately by return e-mail.
Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
*******************************************************************
"SAVE PAPER - THINK BEFORE YOU PRINT!"