Category talk:Plain English: Difference between revisions

(cannot run)
Line 32:
==cannot run any examples==
Clearly we all need some extra help here. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 01:53, 21 September 2020 (UTC)
: All of the examples I have submitted to Rosetta Code compile and run with cal-4700.exe. Here are some sticking points that folks may be running into:
:* It only works in Windows.
:* The compiler only compiles source code with extensionless filenames.
:* A copy of the noodle must be present in the same directory as your extensionless source filename. Yes, this means you need to copy it from the main directory to your project directory. Unsophisticed, but such is life. The noodle is a simply another source file that acts as a standard library of sorts.
 
:Here is an example of my workflow.
 
:* Open cal-4700.exe. I have it in C:\Users\Chunes\Code\Plain English\.
:* Using the arrow and enter keys, navigate to C:\Users\Chunes\Code\Plain English\.
:* Use the arrow keys to highlight "the noodle" and press ctrl-c to copy the file to the clipboard.
:* Using the arrow and enter keys, navigate to C:\Users\Chunes\Code\Plain English\Work\Rosetta Code\ which is where my Plain English RC projects live.
:* Press the "N" button with the mouse and create a new directory. Name it "arithmetic-mean" for example.
:* Navigate to the new folder.
:* Press ctrl-v to paste the noodle into this folder.
:* Press the "N" button with the mouse and create a new file (for the source code). Name it "arithmetic mean". (No extensions, remember.)
:* Navigate to the newly created source file and press enter to open it for editing.
:* Now type/copy the source code into this file.
:* Press ctrl-r to compile and run the program. This will also drop the executable file in the same directory as your source code. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 10:04, 21 September 2020 (UTC)
1,808

edits