Hey Guys,
i need a bit help right now, i want to work with subprogramms and its working well. But i need to get this " before and after the programm name. Like: "roughing" and not : roughing.
This line: writeBlock("EXTCALL " + subprogram + " ;", callType); // call subprogram
I need to get "subprogram" how do i do that? So he writes "programname"
sorry for my bad english
and thanks for the help! 😄
Hello @siekmann.dennis
Ah, dealing with the subtlety of quote and double quote in javascript.
Try that code :
writeBlock("EXTCALL \"" + subprogram + "\" ;", callType); // call subprogram
Use the escape version for the desired double quote. (i.e \" )
Regards
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!