Re: the script of with line numbers?

2022-08-29 Thread Richard Gaskin via use-livecode
Another option: Automate it, replacing Bugzilla's web UI with LC Mod Ken Ray's RevZilla to retrieve support emails, reformat them however needed, tuck them in the DB, integrate the report display with things like double-clicking a line in the executtionContexts to open scripts, etc.

Re: the script of with line numbers?

2022-08-29 Thread Pi Digital via use-livecode
Using The earlier example, you could use put theErrorLineNum into tLineNum put the script of stack “myScript” into tScript split tScript using cr logError tLineNum, tScript[tLineNum] Or something like that. Sean >>> Is there a way (an existing function or command in the language or IDE) to

Re: the script of with line numbers?

2022-08-29 Thread Mark Wieder via use-livecode
On 8/29/22 16:11, Paul Dupuis via use-livecode wrote: It could reduce a trouble should step to include the line numbers programmatically in the error report. No a huge priority in the scheme of things, but a "nice to have" sort of thing. Does that answer the "why?" Somewhat. If you already

Re: the script of with line numbers?

2022-08-29 Thread Bob Sneidar via use-livecode
As long as Mathesar is happy, I'm happy. Bob S On Aug 29, 2022, at 16:11 , Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: No a huge priority in the scheme of things, but a "nice to have" sort of thing. Does that answer the "why?"

Re: the script of with line numbers?

2022-08-29 Thread Paul Dupuis via use-livecode
On 8/29/2022 6:58 PM, Mark Wieder via use-livecode wrote: On 8/29/22 14:36, Paul Dupuis via use-livecode wrote: Is there a way (an existing function or command in the language or IDE) to get the script of an object WITH the line numbers as you see them in the IDE script editor? While some

Re: the script of with line numbers?

2022-08-29 Thread Bob Sneidar via use-livecode
That question always reminds me of Mathesar when he discoveres that Commander Peter Quincy Taggert has been lying all along. :-) Bob S On Aug 29, 2022, at 15:58 , Mark Wieder via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 8/29/22 14:36, Paul Dupuis via use-livecode wrote:

Re: the script of with line numbers?

2022-08-29 Thread Mark Wieder via use-livecode
On 8/29/22 14:36, Paul Dupuis via use-livecode wrote: Is there a way (an existing function or command in the language or IDE) to get the script of an object WITH the line numbers as you see them in the IDE script editor? While some clever solutions have been posted, I gotta ask WHY? -- Mark

Re: the script of with line numbers?

2022-08-29 Thread Bob Sneidar via use-livecode
Maybe marginally better: ... sort it by word 1 of each Bob S On Aug 29, 2022, at 14:50 , J. Landman Gay via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 8/29/22 4:36 PM, Paul Dupuis via use-livecode wrote: Is there a way (an existing function or command in the language or

Re: the script of with line numbers?

2022-08-29 Thread Bob Sneidar via use-livecode
Correction: sort it numeric by word 1 of each Bob S On Aug 29, 2022, at 14:55 , Bob Sneidar mailto:bobsnei...@iotecdigital.com>> wrote: Maybe marginally better: ... sort it by word 1 of each Bob S On Aug 29, 2022, at 14:50 , J. Landman Gay via use-livecode

Re: the script of with line numbers?

2022-08-29 Thread J. Landman Gay via use-livecode
On 8/29/22 4:36 PM, Paul Dupuis via use-livecode wrote: Is there a way (an existing function or command in the language or IDE) to get the script of an object WITH the line numbers as you see them in the IDE script editor? OR Do I just have to do something like: put the script of tObject

the script of with line numbers?

2022-08-29 Thread Paul Dupuis via use-livecode
Is there a way (an existing function or command in the language or IDE) to get the script of an object WITH the line numbers as you see them in the IDE script editor? OR Do I just have to do something like: put the script of tObject into tScript repeat with i=1 to the number of lines in