[Gambas-user] Adding Documentation to functions

Brian G brian at westwoodsvcs.com
Sun Jan 19 20:06:20 CET 2020


Thamk you

   I really appreciate your response. Helps me a lot!

Thank You
Brian G

----- Original Message -----
From: "Christof Thalhofer" <chrisml at deganius.de>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Sunday, January 19, 2020 10:47:04 AM
Subject: Re: [Gambas-user] Adding Documentation to functions

Am 19.01.20 um 18:39 schrieb Brian G:

> Can someone help me with how to add descriptions to methods, functions
> and variable such that they show up when browsing the class  in the IDE?

Document classes with three single quotes at the beginning of the class
file.

''' This class does ...

Document public methods, variables, properties, constants and so on with
two single quotes above the declaration

'' This method does

Public Sub DoSth()

If you want to write over several lines, use Shift-Return at the end of
the line.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur



----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list