POV-Ray : Newsgroups : povray.general : macro naming convention : Re: macro naming convention Server Time
20 May 2024 12:12:03 EDT (-0400)
  Re: macro naming convention  
From: And
Date: 12 Jul 2023 23:50:00
Message: <web.64af738ec7533f87ee1d8e88aa81652d@news.povray.org>
Alain Martel <kua### [at] videotronca> wrote:

> > Is there some suggestion about naming macro / naming function?
> >
> > should macro name start with uppercase?
> >
>
> The name of macros and functions should contain an upper case character
> to avoid any name collision with SDL's key words that are always all
> lowercase.
> The convention is to start with an uppercase character, but, it's up to you.
> The suggestion from Ingo is a good one.

Thank you.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.