Talk:Solve the no connection puzzle: Difference between revisions
Content added Content deleted
(→REXX formatting seems off: explained DO loop structure(s).) |
(→REXX formatting seems off: Visual cue clue?) |
||
Line 2:
Near the top where it starts "aid=...", the lines after that seem mid aligned? (But I am viewing on my tab, but then again, it is usually OK)? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 03:48, 5 October 2014 (UTC)
: The REXX program no longer has that statement, perhaps you were viewing it
Hi
<lang rexx>/**REXX program solves the "no-connection" puzzle (with eight pegs).*/
@. =
Line 23:
: (No '''L''' in Gerard). Yes, the '''DO NODES=1 ...''' starts in column 20, the '''DO #=1 ...''' starts in column 31, the indentation structure depending on what (I think) looks better (and not using any hard and fast rules) and conveys the logic structure and/or purpose of the DO loops. I sometimes use a great-indent (as used here) for some smaller DO loops, but normally I only indent (each) DO loop and SELECT structures two spaces. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 08:46, 5 October 2014 (UTC)
::Hi Gerard, what is the indentation aligned to that makes it look better? Is see nothing immediately above the "do nodes =1" and nothing immediately below the "end /*nodes*/" that continues the visual alignment as well as no indication that that block is a sub block of the preceding code line? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 10:47, 5 October 2014 (UTC)
|