How to insert comment in code?
Hi NDB family! Is there a way to insert some kind of code to add a comment within code? I tried to use /* COMMENT */ but it doesn't seem to work.
THX.
G
9 replies
- 
  --- 
 let Comment: = "here is a comment"
 ---
- 
  thanks Agus. 
- 
  Yes we need an easy comment function such as // instead of just assigning a meaningless variable as a workaround... 
- 
  Apparently just the quotes are needed, the "let" and variable name is not needed. So, you can insert comments using this; "---INSERT COMMENT HERE---"; 
- 
  ca ne marche pas : si par exemple je veux mettre une ligne de code inactive comme (select Guests where Groupe.Situation = "parti").('GL Open' := 0); et que je mette ça "(select Guests where Groupe.Situation = "parti").('GL Open' := 0);" ou "(select Guests where Groupe.Situation = "parti").('GL Open' := 0)"; j'ai une erreur de programmation car il y a déjà " dans le texte 
- 
  "(select Guests where Groupe.Situation = ""parti""). ('GL Open': = 0);"Ce n'est pas ce que nous voulons, mais c'est ce avec quoi nous devons travailler. Vous devez doubler les guillemets existants dans le code. S'il y en a trop, il vaut mieux couper et coller le code dans un fichier texte. 
- 
  "// SOME TEXT"; it works "//"; <-- actually this is not necessary, but it helps when you have tons of lines of code... 
- 
  I think an easy way to comment out blocks of code is essential! If quotes are used, it's hard to comment out blocks of code that already contain quotes in them. 
- 
  Actually i have the issue, that no version of doing a comment is working for me on Ninox 3.6.6 on macOS. 
 
 Did something change in the syntax?It prevents me from saving the code in the function-field because of the red highlighted number on the left. 
Content aside
- 3 yrs agoLast active
- 9Replies
- 5208Views
- 
    1
    Following
    

