Komentar
Anda dapat menambahkan komentar ke kode Anda dengan komentar //
baris tunggal atau komentar multibaris yang dimulai dengan /*
dan diakhir dengan */
.
Contoh - Komentar baris tunggal
let
//Convert to proper case.
Source = Text.Proper("hello world")
in
Source
Contoh - Komentar multibaris
/* Capitalize each word in the Item column in the Orders table. Text.Proper
is evaluated for each Item in each table row. */
let
Orders = Table.FromRecords({
[OrderID = 1, CustomerID = 1, Item = "fishing rod", Price = 100.0],
[OrderID = 2, CustomerID = 1, Item = "1 lb. worms", Price = 5.0],
[OrderID = 3, CustomerID = 2, Item = "fishing net", Price = 25.0]}),
#"Capitalized Each Word" = Table.TransformColumns(Orders, {"Item", Text.Proper})
in
#"Capitalized Each Word"