I at one point used 0, I switched to underscore because... 
method/variable/field naming restrictions say it is not supported. I 
looked up the naming restrictions and found the following...

from:
https://doc.4d.com/4Dv17R5/4D/17-R5/Identifiers.300-4128320.en.html

        •       A name must begin with an alphabetic character or an underscore.
        •       Thereafter, the name can include alphabetic characters, numeric 
characters, the space character, and the underscore character ("_").
        •       Commas, slashes, quotation marks, and colons are not allowed.
        •       Periods (".") and brackets ("[ ]") are not allowed in table 
names, 
fields, methods, or variables when object notation is enabled. (see the 
Compatibility page)
        •       Characters reserved for use as operators, such as * and +, are 
not 
allowed.
        •       4D ignores any trailing spaces.


Hmmmmm..... there is either a problem with the documentation, or the 
64bit report, or both.
As Keisuke mentioned the underscore is used:
"underscore prefixes are reserved for internal features, for plugins in 
particular."

Chip

On Mon, 19 Aug 2019 16:29:41 +0100, Narinder Chandi via 4D_Tech wrote:
> We have used digits for years, e.g. 00MyMethod, 000MyMethod2, etc. I 
> haven't checked yet if digit prefixes for methods are still valid in 
> v17 though!
> 
> Regards,
>  
> Narinder Chandi,
> ToolBox Systems Ltd.
> -- 
> 
> -----Original Message-----
> From: 4D_Tech <[email protected]> on behalf of 4D Tech 
> Mailing List <[email protected]>
> Reply-To: 4D Tech Mailing List <[email protected]>
> Date: Monday, 19 August 2019 at 16:27
> To: 4D Tech Mailing List <[email protected]>
> Cc: Pat Bensky <[email protected]>
> Subject: Re: _ as first character in Method Name [was 64 bit...]
> 
>     Hi Chip,
>     Yes, we've been doing that for years also ... and sometimes a dot, which
>     also is not allowed any more.
>     We've changed them all to "aa..."
>     
>     Pat
>     
>     On Mon, 19 Aug 2019 at 16:24, Chip Scheide via 4D_Tech 
> <[email protected]>
>     wrote:
>     
>     > I use an underscore to start the name of methods which I want to
>     > 'float' to the top of the method list.
>     > I.E. _Conventions
>     >
>     > What allowed character(s) can I use instead?
>     >
>     > Thanks
>     > Chip
>     >
>     > On Sat, 17 Aug 2019 06:03:27 +0000, Keisuke Miyako via 4D_Tech wrote:
>     > > underscore prefixes are reserved for internal features,
>     > > for plugins in particular.
>     > >
>     > > in the past, they were used to auto-save 4D Write/View/Draw 
> plugin areas.
>     > > I don't know if there are any other plugins that take advantage of
>     > > the implicit association,
>     > > but to avoid unintended consequences, it's better to avoid 
> them if at
>     > > all possible.
>     > >
>     > > 2019/08/17 8:17、Chip Scheide via 4D_Tech
>     > > <[email protected]<mailto:[email protected]>>のメール:
>     > > - methods which start with Underscore are not allowed?
>     > >
>     > >
>     > >
>     > > 
> **********************************************************************
>     > > 4D Internet Users Group (4D iNUG)
>     > > Archive:  http://lists.4d.com/archives.html
>     > > Options: https://lists.4d.com/mailman/options/4d_tech
>     > > Unsub:  mailto:[email protected]
>     > > 
> **********************************************************************
>     > ---------------
>     > Gas is for washing parts
>     > Alcohol is for drinkin'
>     > Nitromethane is for racing
>     > **********************************************************************
>     > 4D Internet Users Group (4D iNUG)
>     > Archive:  http://lists.4d.com/archives.html
>     > Options: https://lists.4d.com/mailman/options/4d_tech
>     > Unsub:  mailto:[email protected]
>     > **********************************************************************
>     
>     
>     
>     -- 
>     *************************************************
>     CatBase - Top Dog in Data Publishing
>     tel: +44 (0) 207 118 7889
>     w: http://www.catbase.com
>     skype: pat.bensky
>     *************************************************
>     **********************************************************************
>     4D Internet Users Group (4D iNUG)
>     Archive:  http://lists.4d.com/archives.html
>     Options: https://lists.4d.com/mailman/options/4d_tech
>     Unsub:  mailto:[email protected]
>     **********************************************************************
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to