Lark [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=43924 SPLIT removes esc code prefix but leaves argument <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>&gt; a = &quot;\F7&quot; &gt; PRINT(a) &gt; b = SPLIT(a)[1] &gt; PRINT(b) 7 &gt; PRINT(a==b) FALSE &gt; PRINT(TYPE(b)) NUMBER</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>notice that taking the string &quot;\F7&quot;, and running it through SPLIT turns it into the number 7. </p> <p>should <code>b</code> not be equal to <code>a</code> for any STRING value of <code>a</code> in the above? </p> https://www.lexaloffle.com/bbs/?tid=142195 https://www.lexaloffle.com/bbs/?tid=142195 Fri, 10 May 2024 11:48:39 UTC Klondike Solitaire <p> <table><tr><td> <a href="/bbs/?pid=117572#p"> <img src="/bbs/thumbs/pico8_lark_klondike-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=117572#p"> Klondike</a><br><br> by <a href="/bbs/?uid=43924"> Lark</a> <br><br><br> <a href="/bbs/?pid=117572#p"> [Click to Play]</a> </td></tr></table> <br /> updated:<br /> save tableau<br /> save settings<br /> optional setting: move from foundation<br /> up and down arrows navigate to and from the deck</p> <p>previous update: undo, persistent score, a no-move resign doesn't ding score</p> https://www.lexaloffle.com/bbs/?tid=49375 https://www.lexaloffle.com/bbs/?tid=49375 Sat, 17 Sep 2022 14:35:36 UTC