Autore Topic: I commenti di aiuto vengono ora esportati  (Letto 550 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.317
  • Ne mors quidem nos iunget
    • Mostra profilo
I commenti di aiuto vengono ora esportati
« il: 10 Novembre 2012, 01:57:05 »
Minisini fa sapere quanto segue:

« Since revision #5311, help comments are now exported by the compiler
into the information files of libraries and components (*.info files).

Consequently, if you define some help in your libraries, you will see
them in the IDE!

Help comments must begin with two quotes and a space (`'' `), and must
be located:

- On the same line of the declaration of the documented symbol.

- Or on several lines just before the declaration of the documented symbol.

A class can have its own help comments. The class help comments must
begin with three quotes and a space (`''' `), and must be the first help
comments of the class source file.

Note: The syntax used in help comments is a Gambas markup language
mainly inspired from the Markdown markup language. [1]

Enjoy it!

[1] http://en.wikipedia.org/wiki/Markdown

--
Benoît Minisini
»
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »

Offline md9327

  • Moderatore
  • Senatore Gambero
  • *****
  • Post: 2.840
    • Mostra profilo
Re: I commenti di aiuto vengono ora esportati
« Risposta #1 il: 12 Novembre 2012, 13:17:43 »
Carina questa... come in java... la metto da parte!  :ok:

Offline Ceskho

  • Amministratore
  • Senatore Gambero
  • *****
  • Post: 3.778
  • Vi Veri Veniversum Vivus Vici
    • Mostra profilo
    • Pagina Personale
Re: I commenti di aiuto vengono ora esportati
« Risposta #2 il: 12 Novembre 2012, 15:53:56 »
Era ora che introducessero una cosa del genere.