RE: Dot Notation in Legacy 4D Code

2019-06-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
If you deal with variables you can use "Rename..." in the context menu of the 
method editor too.

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

Re: Dot Notation in Legacy 4D Code

2019-06-20 Thread Narinder Chandi via 4D_Tech
Thanks Douglas. Yes, the Find in design has been amazing since v11 (I think?), 
certainly I have used it a _lot_ in recent years in v15! The next best thing to 
4D Insider, but still not anywhere near as good ;)

Regards,
 
Narinder Chandi,
ToolBox Systems Ltd.
-- 

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List 
<4d_tech@lists.4d.com>
Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Date: Thursday, 20 June 2019 at 18:11
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Douglas von Roeder 
Subject: Re: Dot Notation in Legacy 4D Code

Narinder:

That’s correct - it you’re using dotted notation, you’ll have to clean up
the old code. The good news is features in newer versions make that much
easier. The Find in design feature is much faster and far more flexible.
Once you run a query and the results window opens, you can delete items
from the list if you wish, you can drag and drop the content into a method
window and then right click to open the methods (or Ctrl K), and you can
“Replace in content” from the popup menu on the gears icon in the lower
left.

--
Douglas von Roeder



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

Re: Dot Notation in Legacy 4D Code

2019-06-20 Thread Douglas von Roeder via 4D_Tech
Narinder:

That’s correct - it you’re using dotted notation, you’ll have to clean up
the old code. The good news is features in newer versions make that much
easier. The Find in design feature is much faster and far more flexible.
Once you run a query and the results window opens, you can delete items
from the list if you wish, you can drag and drop the content into a method
window and then right click to open the methods (or Ctrl K), and you can
“Replace in content” from the popup menu on the gears icon in the lower
left.

--
Douglas von Roeder
949-336-2902


On Thu, Jun 20, 2019 at 10:06 AM Narinder Chandi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> S, I suspected this would be the case but just seeking confirmation...
>
> I am working with a 4D database that has made extensive use of dot in
> table, variable and project names (not of my doing btw!), e.g.
> [my.table.name]
> my.process.variable
> my.project.method
>
> Converting the database to v17 and enabling the compatibility option "Use
> object notation to access object properties" the database still passes
> compilation. However, numerous interpreter errors occur when using any
> database functionality. I thinks it's clear that all prior dot usage will
> have to be totally eliminated?? Urg...
>
> Regards,
>
> Narinder Chandi,
> ToolBox Systems Ltd.
> --
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Dot Notation in Legacy 4D Code

2019-06-20 Thread Timothy Penner via 4D_Tech
Hi Narinder,

Did you run the MSC verify *before* enabling dot notation to check for issues?
https://blog.4d.com/get-ready-for-object-notation/

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi via 
4D_Tech
Sent: Thursday, June 20, 2019 10:06 AM
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: Dot Notation in Legacy 4D Code

S, I suspected this would be the case but just seeking confirmation...

I am working with a 4D database that has made extensive use of dot in table, 
variable and project names (not of my doing btw!), e.g.
[my.table.name]
my.process.variable
my.project.method

Converting the database to v17 and enabling the compatibility option "Use 
object notation to access object properties" the database still passes 
compilation. However, numerous interpreter errors occur when using any database 
functionality. I thinks it's clear that all prior dot usage will have to be 
totally eliminated?? Urg...

Regards,

Narinder Chandi,
ToolBox Systems Ltd.
--



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