Re: Methods starting with a number

2017-04-03 Thread Keisuke Miyako via 4D_Tech
I guess SQL/import export would break since it adds an underscore to illegal 
field names.

perhaps the same with XML export of structure.

if has been working for some time,
maybe it's not such a high priority,
but you'd also want to be prepared for dot-notation support whenever that is 
going to be...

2017/04/03 15:00、Wayne Stewart via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
I've done that for years with no problems do I need to do a big global
find and replace?



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Methods starting with a number

2017-04-03 Thread Herr Alexander Heintz via 4D_Tech
We have all been pampered by 4D insofar as nomenclature that was strictly 
forbidden in most other languages was permitted.
It already breaks on table and field names when using SQL, many of the other 
things are next.
I never thought it was an especially wise idea to allow spaces and 
diacritical characters in programming language nomenclature…
So yes, I would at one point take the time to clear this up, and while you are 
at it get rid of any spaces in method, table and field names as well.
My 2 ct.
Cheers
Alex

> Am 03.04.2017 um 08:00 schrieb Wayne Stewart via 4D_Tech 
> <4d_tech@lists.4d.com>:
> 
> Hi,
> 
> I just noticed here:
> http://livedoc.4d.com/4D-Language-Reference-16-R3/Language-definition/Identifiers.300-3218655.en.html
> 
> That you can't start a method name (indeed anything) with a number.
> 
> I've done that for years with no problems do I need to do a big global
> find and replace?
> 
> Regards,
> 
> Wayne
> 
> 
> Wayne Stewart
> about.me/waynestewart
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Methods starting with a number

2017-04-02 Thread Wayne Stewart via 4D_Tech
Hi,

I just noticed here:
http://livedoc.4d.com/4D-Language-Reference-16-R3/Language-definition/Identifiers.300-3218655.en.html

That you can't start a method name (indeed anything) with a number.

I've done that for years with no problems do I need to do a big global
find and replace?

Regards,

Wayne


Wayne Stewart
about.me/waynestewart
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**