+100 To Mark for that one In fact it could copy the complicated condition AND any comment after it - best of all possible worlds
Lagi On 11 August 2017 at 02:38, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/10/2017 06:24 PM, Monte Goulding via use-livecode wrote: > > So we need: >> >> 1. an optional way to add such comments (even users that want them might >> not want them unless they are making spaghetti) >> 2. automagical maintenance if the comments exist and you change the >> condition >> 3. work out whether tags rather than the actual condition is what people >> really want because the condition might add too much clutter: >> >> if some complicated condition then # I’m a makin’ spaghetti >> — spaghetti >> end if # I’m a makin' spaghetti >> > > I would actually argue against this. For me, the useful part would be > > end if # some complicated condition > > Otherwise, making the user come up with a comment that basically says > "some complicated condition" anyway, and doing all the maintentance you've > described above sounds like a lot of work for very little gain. > > -- > Mark Wieder > ahsoftw...@gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode