Luigi301 Posted July 28, 2005 Share Posted July 28, 2005 Another thread says you can use labels instead of numbers. However, when I do initprg: player0x = wormx : player0y = wormy player1x = applex : player1y = appley applex = 75 :appley = 75 COLUPF = 90 DASM errors saying "cannot process line 'initprg' and refuses to compile. What gives? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 28, 2005 Share Posted July 28, 2005 Another thread says you can use labels instead of numbers. However, when I do initprg: player0x = wormx : player0y = wormy player1x = applex : player1y = appley applex = 75 :appley = 75 COLUPF = 90 DASM errors saying "cannot process line 'initprg' and refuses to compile. What gives? 900206[/snapback] Have you tried using a different name for the label to see if that works? Quote Link to comment Share on other sites More sharing options...
potatohead Posted July 28, 2005 Share Posted July 28, 2005 Another thread says you can use labels instead of numbers. However, when I do initprg: player0x = wormx : player0y = wormy player1x = applex : player1y = appley applex = 75 :appley = 75 COLUPF = 90 DASM errors saying "cannot process line 'initprg' and refuses to compile. What gives? 900206[/snapback] Have you tried using a different name for the label to see if that works? 900283[/snapback] Take the colon off the label and you should be golden. eg: topofloop a = a + 1 player0x = a if a > 5 then goto topofloop outofloop off and doing something else. The forum nukes the indent, so the rule is a label needs to occupy the first character of a line, with statements indented. (using - for a space) label -statement -statement anothelable -statement -if something then goto label Quote Link to comment Share on other sites More sharing options...
kisrael Posted July 28, 2005 Share Posted July 28, 2005 I've mentioned the coding thing to Al... right now the easiest thing to do is put TWO spaces in front of each indented line. Maybe I'll make a little web app to make that easier... Quote Link to comment Share on other sites More sharing options...
potatohead Posted July 29, 2005 Share Posted July 29, 2005 I've mentioned the coding thing to Al...right now the easiest thing to do is put TWO spaces in front of each indented line. Maybe I'll make a little web app to make that easier... 900492[/snapback] Cool. Hope there is a fix in the works. This is a great forum otherwise. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 29, 2005 Share Posted July 29, 2005 Until there is a fix, you can insert a no-break space and that forces the forum to leave a space. It works with or without the code thingy. initprg player0x = wormx : player0y = wormy player1x = applex : player1y = appley applex = 75 :appley = 75 COLUPF = 90 initprg player0x = wormx : player0y = wormy player1x = applex : player1y = appley applex = 75 :appley = 75 COLUPF = 90 Quote Link to comment Share on other sites More sharing options...
kisrael Posted July 29, 2005 Share Posted July 29, 2005 What do you mean by "no-break space"? In HTML that's & n b s p ; but that doesnt seem to work in the code blocks...what did you do? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 29, 2005 Share Posted July 29, 2005 (edited) What do you mean by "no-break space"?In HTML that's & n b s p ; but that doesnt seem to work in the code blocks...what did you do? 900830[/snapback] There are two easy ways. You can 'type' it by holding down the Alt key and punching in the numbers 255 with the numbers on the side of your keyboard or you can use that cool little program called Character Map (if you have a Windows PC). If you run that and look between the tilde and the inverted exclamation mark, you'll see the no break space. You can copy it and paste it in any forum when you need to force a blank space. Whether you copy it from Character Map or use Alt+255, it's pretty fast and not too much of a pain. You can read more about it here: http://www.fileformat.info/info/unicode/char/00a0/index.htm Edited July 29, 2005 by Random Terrain Quote Link to comment Share on other sites More sharing options...
kisrael Posted July 29, 2005 Share Posted July 29, 2005 What do you mean by "no-break space"?In HTML that's & n b s p ; but that doesnt seem to work in the code blocks...what did you do? 900830[/snapback] There are two easy ways. You can 'type' it by holding down the Alt key and punching in the numbers 255 with the numbers on the side of your keyboard or you can use that cool little program called Character Map (if you have a Windows PC). If you run that and look between the tilde and the inverted exclamation mark, you'll see the no break space. You can copy it and paste it in any forum when you need to force a blank space. Whether you copy it from Character Map or use Alt+255, it's pretty fast and not too much of a pain. You can read more about it here: http://www.fileformat.info/info/unicode/char/00a0/index.htm 900874[/snapback] Hmm...well, for longer cut and paste codes I'd suggest my new tool for that at http://alienbill.com/2600/basic/aabbcc.cgi Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 29, 2005 Share Posted July 29, 2005 Hmm...well, for longer cut and paste codes I'd suggest my new tool for that at http://alienbill.com/2600/basic/aabbcc.cgi900894[/snapback] I should add that to the other thread. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.