![]() |
Suggestion for the Syntax section - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Documentation (https://www.boriel.com/forum/forumdisplay.php?fid=17) +---- Thread: Suggestion for the Syntax section (/showthread.php?tid=256) Pages:
1
2
|
Re: Suggestion for the Syntax section - programandala.net - 06-20-2010 boriel Wrote:use Thanks. I think I did so. Maybe I mistyped somewhere. I did left blank lines bewteen titles and listings or paragraphs, just to make wiki markup easier to read and edit. Re: Suggestion for the Syntax section - programandala.net - 06-20-2010 boriel Wrote:I've already <zxbasic'ed> the examples and games listings. I've finished the Library page, the libraries and the trigonometrical functions. Re: Suggestion for the Syntax section - programandala.net - 06-20-2010 boriel Wrote:This way you avoid blank lines at top and bottom in the listings. I've just realized what you meant. First I thought you meant I was leaving a blank line between <zxbasic> and the listing. But what I'm doing is typing <zxbasic> and </zxbasic> on their own lines, because in my opinion that way the wiki source is a bit easier to read and edit. And that effectively renders an empty line! I didn't realized before. That extra border doesn't look bad for me. Anyway the best solution would be to fix it in the extension, make it not to render that lines at the start and at the end of the block. Or maybe it could be done with CSS.only. That way the layout of the wiki source wouldn't change the final HTML. But I can write <zxbasic> and </zxbasic> next to the code lines, no problem. Re: Suggestion for the Syntax section - boriel - 06-20-2010 I really don't mind very much, anyway. And thanks a lot :roll: Re: Suggestion for the Syntax section - zarsoft - 01-08-2014 Quote:I think code without line numbers should be respected Code: 5 : Re: Suggestion for the Syntax section - boriel - 10-30-2018 Sorry, I overlooked this message. The code above is respected, but the variable "factorial" is a variable and ZX Basic (as many basics) don't resolve line numbers dynamicaly. Also there's is a missing line 10000. You should add an empty line Code: 10000 REM |