Closed graemechester closed 8 years ago
Whoops, can't think how long that's been broken! Fixed it. Thanks for letting me know.
Thanks for the quick response – looks like no-one else is using Booleans!
Kind regards,
Dr. E.G. Chester, School of EEE, Newcastle University Tel: 0191 208 7325 Email: graeme.chester@ncl.ac.ukmailto:graeme.chester@ncl.ac.uk
From: Christian Lawson-Perfect [mailto:notifications@github.com] Sent: 12 January 2016 15:22 To: numbas/Numbas Numbas@noreply.github.com Cc: Graeme Chester graeme.chester@newcastle.ac.uk Subject: Re: [Numbas] Boolean 'not' operator does not display correctly in Numbas.jme.display.texify (#422)
Whoops, can't think how long that's been broken! Fixed it. Thanks for letting me know.
— Reply to this email directly or view it on GitHubhttps://github.com/numbas/Numbas/issues/422#issuecomment-170945277.
I have been experimenting with writing custom scripts to use JME for checking Boolean expressions, it seems to be working OK but the input box won't accept '!' or 'not' operators. The error message reads:-
texOps[tok.name.toLowerCase(...)] is not a function
I traced this through and found that both ops are translated to 'not', though only '!' is define in texOps. Both the editor and runtime are affected.