Coments in a Prime Program
|
01-06-2014, 07:11 AM
Post: #1
|
|||
|
|||
Coments in a Prime Program
Sorry if this has been discussed, but I am having a problem. I am having a problem with EVERY program I download or write, when I come to a comment line my listing stops executing. As an example, I'd like to quote just a portion from Egan Ford's Breakout Program. I hope you don't mind, Egan...
// breakout hp prime v 1.0 // // Egan Ford <egan@sense.net> // // Inspired by Tugdual's Pong alpha and Atari 2600 Breakout // brickout(); drawbricks(); drawballs(); drawscore(); drawtext(); local j, t, m; local paddle_x, paddle_y, paddle_w, paddle_h, paddle_m; // paddle local score_y, brick_h, brick_n; // bricks local brick_colors, brixel_x, brixel_y, brick_w; local x, y, vx, vy, ball_m, ball_w, ball_n, rel_x; // ball The problem is, the emulator will not read anything until I delete the 1st six lines beginning //. When I delete these lines, my calculator read down until the line that ends // paddle. This line cannot be read until I erase the //paddle, then it works. I have to go through the entire line erasing all comment, then the calculator and software works perfectly. What am I doing wrong? I'm a math teacher. Of course I have problems. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Coments in a Prime Program - Les_Koller - 01-06-2014 07:11 AM
RE: Coments in a Prime Program - Egan Ford - 01-06-2014, 04:14 PM
RE: Coments in a Prime Program - Han - 01-06-2014, 04:19 PM
RE: Coments in a Prime Program - Les_Koller - 01-18-2014, 10:55 PM
RE: Coments in a Prime Program - patrice - 01-19-2014, 03:34 AM
RE: Coments in a Prime Program - Les_Koller - 01-20-2014, 06:25 AM
|
User(s) browsing this thread: 2 Guest(s)