RemStart
RemStart
 
Parameters: NONE
Returns: NONE
 

     RemStart allows you to insert is a multi lines remarks (block remarks into your code. RemStart is the openning remark statement, this needs to be closed with a RemEnd statement.

      We use remarks to provide a better description of what our program is doing. PlayBASIC supports single line remarks and block remarks. Block remarks consist of keywords or symbol pairs that indicate the start and end of comment block.



Supported block comment pairs

      RemStart .... RemEnd
      /* .... */



Mini Tutorial:


      Adding a block comment (using Remstart, RemEnd) to your program.

  
  RemStart
  This is a multi Line comment
  which starts on the previous Line
  And continues Until you place the
  closing Rem end statement.
  
  This allows you To insert long bits
  of Text in your code.  This  Text could be
  anything, from how your functions work,
  a List of things To Do, your shopping
  ListOr anything.
  
  It's generally  a good idea To try And make
  your comments describe things about your
  program.  This makes understanding your
  easier in the long run.  Since you might
  work on a program over a long period
  of time.
  
  RemEnd
  
  Print "All the previous lines are commented out"
  
; display the screen and waitkey for a key press
  Sync
  WaitKey
  
  
  



Note: If you paste this into the PlayBASIC IDE, the block will high light as a comment. Unforunately the version of the help builder the doc's were created in, doesn't seem to support block comments, so they don't look the same as the IDE.




 
Related Info: #IF | Rem | Remarks :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com