Post Reply 
about the Prime program editor
09-29-2014, 06:37 PM (This post was last modified: 10-06-2014 12:17 AM by Alberto Candel.)
Post: #6
RE: about the Prime program editor
(09-29-2014 05:25 PM)Nigel (UK) Wrote:  
(09-29-2014 03:44 PM)Alberto Candel Wrote:  Does anyone know how to fix this? Thanks. A.
Putting curly braces {} around the DO-loop code {m:=m-1} seems to work for me (on the emulator). The code still gets re-formatted without the space, but it runs correctly. I don't know if curly braces will have any side effects, though.

Nigel (UK)
Well, thanks. It worked on the Prime. But this is odd: I replaced m:=m-1 with {m:=m-1} as you suggested, and got No errors. After exiting and returning to edit, the Prime had replaced { } by {( )}. Next I removed the { } leaving only the ( ), and this resulted in Syntax Error.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: about the Prime program editor - Alberto Candel - 09-29-2014 06:37 PM



User(s) browsing this thread: 1 Guest(s)