Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerVault MD 32XX/36XX Series Storage Arrays CLI Guide

PDF

Adding Comments To A Script File

You can add comments to a script file in three ways:
  • The script engine interprets as a comment any text typed after two forward slashes (/ /) until an end‑of‑line character is reached. If the script engine does not find an end‑of‑line character in the script after processing a comment, an error message is displayed, and the script operation is terminated. This error commonly occurs when a comment is placed at the end of a script and you have not pressed <Enter>.
    // Deletes the existing configuration.
                                           clear storageArray Configuration;
                                        
  • The script engine interprets any text typed between / * and * / as a comment. If the script engine does not find both a beginning and ending comment notation, an error message is displayed, and the script operation is terminated.
    /* Deletes the existing configuration */
                                           clear storageArray Configuration;
                                        
  • Use the show statement to embed comments in a script file that you want to display while the script file is running. Enclose the text you want to display in quotation marks (" ").
    show "Deletes the existing configuration";
                                           clear storageArray Configuration;
                                        

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\