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?
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 tScript
put i &space before line i of tScript
Any secret IDE or LCS knowledge welcome. Thank you in advance.
get the script of <object>
split it by cr
combine it by cr and tab
sort it numeric
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription