Hello everyone,
it's me again. Another day, another question
So I made a nice long script that creates a new data table which contains some scripts. I use the New Script () function to do this.
dt<< New script ("myscript",
// comments
//beautiful indentation
(
(
( ( instructions) )
)
)
)
);
My issue is that when I check the script Inside the table dt, all comments are lost, as well as the layout, my personal style of indentation, empty lines, etc.
These scripts are intended for users who are not necesarily familiar with JSL, so I need to keep the comments and the original layout.
I was trying to do something like putting my scripts in a string and using Append() or Append Text() but was unsuccessful.
mystring = " \[ // all my
// script
]\" ;
myscript = dt<<New Script ("my script",
//some instructions
);
myscript << Append Text (mystring)
Unfortunately this did not work. Any ideas ? Some tricks using Expr/ Eval , etc maybe ?
~~Bob~~