Re: WEIRD: code changes the code instead of a field
Message: 13 Date: Tue, 21 Mar 2017 14:58:02 + sez Bob Sneidar> > On Mar 21, 2017, at 04:11 , Klaus major-k via use-livecode > > wrote: > > > > "numtochar" and "chartonum" have been deprecated since version 7.x of > > Liveocde! > > So please try again with "NumtoNativeChar" and maybe also LC 9 dp6. :-) > say WHUUUT? By deprecated, do you mean not part of the scripting language > anymore?? I thought we didn't do that. "Deprecated" doesn't mean "eradicated". "Deprecated" means "could you please not use this any more? there's better options available now, honest there are!" "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. ___ 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
Re: WEIRD: code changes the code instead of a field
IT IS when you are debugging! Do you have gRevDevelopment set to true? Bob S > On Mar 21, 2017, at 04:16 , Tiemo Hollmann TB via use-livecode >wrote: > > Hi Klaus, > it's not an issue of numToChar (happens similar with numToNativeChar) but > probably of the IDE/Debugger, who thinks that the selectedChunk is my code. > Tiemo ___ 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
Re: WEIRD: code changes the code instead of a field
Hi Bob, > Am 21.03.2017 um 15:58 schrieb Bob Sneidar via use-livecode >: > say WHUUUT? WHUUT! > By deprecated, do you mean not part of the scripting language anymore?? I am not a native english speaker, so you should know better what "deprecated" means! :-D It it obviously still working but may be removed in later versions. > I thought we didn't do that. You and I don't, but the scotsmen do! ;-) > Bob S > >> On Mar 21, 2017, at 04:11 , Klaus major-k via use-livecode >> wrote: >> >> "numtochar" and "chartonum" have been deprecated since version 7.x of >> Liveocde! >> So please try again with "NumtoNativeChar" and maybe also LC 9 dp6. :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Re: WEIRD: code changes the code instead of a field
say WHUUUT? By deprecated, do you mean not part of the scripting language anymore?? I thought we didn't do that. Bob S > On Mar 21, 2017, at 04:11 , Klaus major-k via use-livecode >wrote: > > "numtochar" and "chartonum" have been deprecated since version 7.x of > Liveocde! > So please try again with "NumtoNativeChar" and maybe also LC 9 dp6. :-) > > > Best > > Klaus ___ 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
Re: WEIRD: code changes the code instead of a field
There's a problem with the script editor losing track of the defaultstack during debugging. I see it when it tells me that it can't find a control on the card I'm looking at. It's applying all references to itself. I haven't been able to get a consistent recipe to report the problem but since you have one, it would be great if you could submit a report. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 21, 2017 5:53:07 AM Tiemo Hollmann TB via use-livecodewrote: Hello, LC 9.0, dp4, Win10: Fiddling around creating a password field I am encountering a very weird phenomenon. Stepping thru my code with the debugger my code modifies my code instead of a field. Recipie: - Create a new stack - Create a new field - Put the code into the field: on keyDown pKey put numToChar(42) into the selectedChunk -- numToChar(42): "*" end keyDown - Apply the code - Set a breakpoint (red dot) at the only statement - Switch to browse tool and enter one character into the field - Use the "step into" for executing the code - See what happened to your code? - The complete line of code is replaced by an asterisk! Funny huh? Any comments? Tiemo ___ 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
Re: WEIRD: code changes the code instead of a field
Hi Tiemo, > Am 21.03.2017 um 12:16 schrieb Tiemo Hollmann TB via use-livecode > <use-livecode@lists.runrev.com>: > > Hi Klaus, > it's not an issue of numToChar (happens similar with numToNativeChar) but > probably of the IDE/Debugger, who thinks that the selectedChunk is my code. OK, that was just a shot in the dark, but please try again with LC 9 DP6 just to be sure. > Tiemo > > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Klaus major-k via use-livecode > Gesendet: Dienstag, 21. März 2017 12:12 > An: How to use LiveCode <use-livecode@lists.runrev.com> > Cc: Klaus major-k <kl...@major-k.de> > Betreff: Re: WEIRD: code changes the code instead of a field > > Hi Tiemo, > >> Am 21.03.2017 um 11:49 schrieb Tiemo Hollmann TB via use-livecode > <use-livecode@lists.runrev.com>: >> >> Hello, >> >> LC 9.0, dp4, Win10: Fiddling around creating a password field I am >> encountering a very weird phenomenon. Stepping thru my code with the >> debugger my code modifies my code instead of a field. Recipie: >> >> - Create a new stack >> - Create a new field >> - Put the code into the field: >> >> on keyDown pKey >> put numToChar(42) into the selectedChunk -- numToChar(42): "*" >> end keyDown >> >> - Apply the code >> - Set a breakpoint (red dot) at the only statement >> - Switch to browse tool and enter one character into the field >> - Use the "step into" for executing the code >> - See what happened to your code? >> - The complete line of code is replaced by an asterisk! Funny Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Re: WEIRD: code changes the code instead of a field
Hi Tiemo, > Am 21.03.2017 um 11:49 schrieb Tiemo Hollmann TB via use-livecode >: > > Hello, > > LC 9.0, dp4, Win10: Fiddling around creating a password field I am > encountering a very weird phenomenon. Stepping thru my code with the > debugger my code modifies my code instead of a field. Recipie: > > - Create a new stack > - Create a new field > - Put the code into the field: > > on keyDown pKey >put numToChar(42) into the selectedChunk -- numToChar(42): "*" > end keyDown > > - Apply the code > - Set a breakpoint (red dot) at the only statement > - Switch to browse tool and enter one character into the field > - Use the "step into" for executing the code > - See what happened to your code? > - The complete line of code is replaced by an asterisk! Funny huh? > > Any comments? > > Tiemo "numtochar" and "chartonum" have been deprecated since version 7.x of Liveocde! So please try again with "NumtoNativeChar" and maybe also LC 9 dp6. :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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