Changes between Initial Version and Version 1 of Ticket #1670


Ignore:
Timestamp:
2012-08-31T11:08:38Z (12 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1670

    • Property ComponentBackend
  • Ticket #1670 – Description

    initial v1  
    11We should remove the static help-text and generate this on-the-fly instead. The new flag system is capable of showing different text; so could the help() function.
    2 {{{function help "display the OpenModelica help text"
     2{{{
     3function help "display the OpenModelica help text"
    34  output String helpText;
    45  annotation(__OpenModelica_EarlyInline = true);
     
    67  helpText := readFile(getInstallationDirectoryPath() + "/share/doc/omc/omc_helptext.txt");
    78annotation(preferredView="text");
    8 end help;}}}
     9end help;
     10}}}