PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, December 13, 2022

[FIXED] How do I comment out a block of code in Stan?

 December 13, 2022     comments, stan, syntax     No comments   

Issue

This feels like a duplicate question, but I can't find it anywhere here or elsewhere!

So, in R, you can comment out a block of code with Ctrl + Shift + C/Cmd + Shift + C. Does anyone know how to perform the equivalent action in Stan? All I know is that Stan uses // in place of R's #. I've tried Ctrl + Shift + //Cmd + Shift + /, to no avail.

Thanks so much for any help! :)


Solution

You can create a comment within your Stan code by using the following:

/* this is a comment block
as opposed to a single
line block */

Please see, https://mc-stan.org/docs/2_18/reference-manual/bracketed-comments.html



Answered By - BioinformaticsB
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing