Hey, see here my code:

Code:
min({10,theta/2,max(1,A+sum(DeltaList(K={12,11->A

Exactly from SC!! But when I transfer it to jsTIfied, it gives a syntax error. What's wrong? Confused. I'm sure the last part with sum( etc. gives the error.
Can you take a screenshot of what it looks like in the program editor in jsTIfied?
The problem is that you're nesting lists. Although the final result should resolve to a number, during the computation you're attempting to put a list in a list, which the calculator can't handle.

In this case, you can easily modify the expression to represent the same computation without nesting lists:

Code:
min(10,min(theta/2,max(1,A+sum(DeltaList(K={12,11->A
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement