How do I comment in Power Query M?

谁说我不能喝 提交于 2020-01-12 11:57:18

问题


Is there a way to comment M code / comment out lines or blocks of code?


回答1:


M supports two different types of comments:

  • Single line comments can be started with //
  • You can comment out multiple lines or comment out text in the middle of a line using /* */ (e.g. = 1 + /* some comment */ 2)

Comments might seem to disappear in the formula bar if they are at the end of the line, but they are still there. You can verify this by looking at your code in the Advanced Editor.



来源:https://stackoverflow.com/questions/31569679/how-do-i-comment-in-power-query-m

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!