More than one Commen Line type in UDLs?
-
I am creating a UDL (User-Defined Language) and would like to have more than one type of comment line. For example:
// This is a comment lineand
# This is a comment Lineis it possible to have more than one comment line type in a UDL?
-–
moderator added code markdown around text; please don’t forget to use the
</>button to mark example text as “code” so that characters don’t get changed by the forum -
The fields in the User Defined Language (UDL) dialog are space-separated lists. So if you want both
#and//to start a comment-line, set the Comment Line: Open field to# //or// #– then either token can be used to start a comment line
-
Thank you, Peter.
Your suggestion does exactly what I needed. Thank you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login