programming the prime
|
03-24-2015, 09:15 PM
(This post was last modified: 03-25-2015 06:25 AM by Han.)
Post: #2
|
|||
|
|||
RE: programming the prime
(03-24-2015 08:57 PM)leprechaun Wrote: Hello to the forums! You're using the "," for fractional separators. This in turn makes the separator character ";" (by default, the "." is the fraction mark and "," is the separator). Thus, when you type: seq(0,10) it gets interpreted as call the seq() function with a single argument whose value is \( \frac{1}{10}\). It doesn't work in the case of seq(1,N) because the calculator does not allow symbolic fractional parts. Press [Menu] while program editor and select "Insert Pragma" (place it at the top) and change the ( , ; ; ) to ( . , ; ) if you want to use regular commas and decimal points in your programs but not elsewhere. The alternative is to make sure that you remember "," means fraction mark, and ";" means separator. [Edit] Or thirdly, change your numeric display option in the settings. The pragma ( . , ; ) tells the editor that "." is the fraction mark, "," is the separator, and ";" ends a command line. So you could theoretically use: ( , . ; ) if you want, or even ( , ; , ) and end all commands with a "," symbol! (Not all symbols are allowed, though. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
programming the prime - leprechaun - 03-24-2015, 08:57 PM
RE: programming the prime - Han - 03-24-2015 09:15 PM
RE: programming the prime - leprechaun - 03-25-2015, 12:04 PM
|
User(s) browsing this thread: 1 Guest(s)