4D Insider v2004 and an old structure

View: New views
8 Messages — Rating Filter:   Alert me  

4D Insider v2004 and an old structure

by George Tiller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm currently bug-swatting in a 4D program that was originally created
(by my client himself) in 4D v1 or v2 (US version) and simply upgraded
with each new 4D version. The previous version was v2003 and v6.x before
that, and I'm trying to get it cleaned up by making variable names
descriptive and consistent, fixing variable typing errors, etc.

I've been using 4D Insider v2004 for a lot of the renaming, and it
appears to be working ok. However, I've been seeing variables that should
no longer exist still appearing in the 4D Insider variable list, even
though no occurrences show in the left-hand list when I click on the var
in the center list.

Any suggestions for how a variable can exist in a structure without being
referenced anywhere?



George Tiller
911 East A Street
Brunswick, Maryland 21716


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Doug Hall-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 9:45 AM, George Tiller <gtiller_erols@...> wrote:

> I'm currently bug-swatting in a 4D program that was originally created
> (by my client himself) in 4D v1 or v2 (US version) and simply upgraded
> with each new 4D version. The previous version was v2003 and v6.x before
> that, and I'm trying to get it cleaned up by making variable names
> descriptive and consistent, fixing variable typing errors, etc.
>
> I've been using 4D Insider v2004 for a lot of the renaming, and it
> appears to be working ok. However, I've been seeing variables that should
> no longer exist still appearing in the 4D Insider variable list, even
> though no occurrences show in the left-hand list when I click on the var
> in the center list.
>
> Any suggestions for how a variable can exist in a structure without being
> referenced anywhere?

What if it's in a component or extension? I forgot what they were
called before components came out, but I think they were called
extensions. I'm not sure if Insider could access variables in
extensions, but I'm pretty sure it will find them in components. If
they're private components, it won't show you the contents.

I'd run it against SanityCheck just in case some orphaned items are
hanging around. (Back it up first, obviously.)

Doug
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Douglas Davis-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just "plug-in" any old name and we will understand what you are talking
about.

Doug



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Doug Hall-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 11:48 AM, Douglas Davis <dsdavis@...> wrote:
> Just "plug-in" any old name and we will understand what you are talking
> about.

They may have been called plugins, I don't remember. But, unlike
today's plugins, this was something you grafted into the structure
file, like you can a component now. I think it involved using Resedit
or Insider. It was probably compiled C code, so I doubt it would have
variable names that Insider would detect. But I DO remember the
headache of replacing them and having to remove them from an otherwise
outdated structure file. Seems like it was around the time we went
from 4D 6.0 to 6.5.

George, if you're on a recent Mac and need to run those older copies
of 4D/Resedit, etc., a copy of SheepShaver might come in handy.

Doug
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Douglas von Roeder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Those were "externals" and they were moved in and out of a structure using
External Mover.

Sheesh guys, it hasn't been THAT long, has it?  ;-)

--
Douglas von Roeder
#15826


On Tue, Nov 3, 2009 at 12:31 PM, Doug Hall <doughalldev@...> wrote:

> On Tue, Nov 3, 2009 at 11:48 AM, Douglas Davis <dsdavis@...>
> wrote:
> > Just "plug-in" any old name and we will understand what you are talking
> > about.
>
> They may have been called plugins, I don't remember. But, unlike
> today's plugins, this was something you grafted into the structure
> file, like you can a component now. I think it involved using Resedit
> or Insider. It was probably compiled C code, so I doubt it would have
> variable names that Insider would detect. But I DO remember the
> headache of replacing them and having to remove them from an otherwise
> outdated structure file. Seems like it was around the time we went
> from 4D 6.0 to 6.5.
>
> George, if you're on a recent Mac and need to run those older copies
> of 4D/Resedit, etc., a copy of SheepShaver might come in handy.
>
> Doug
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Doug Cottrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have any methods in the trash can that have not
yet been deleted?  Variables and methods (and forms I think)
will still register as being used, but no longer cross referenced.

DKC

>I'm currently bug-swatting in a 4D program that was originally created
>(by my client himself) in 4D v1 or v2 (US version) and simply upgraded
>with each new 4D version. The previous version was v2003 and v6.x before
>that, and I'm trying to get it cleaned up by making variable names
>descriptive and consistent, fixing variable typing errors, etc.
>
>I've been using 4D Insider v2004 for a lot of the renaming, and it
>appears to be working ok. However, I've been seeing variables that should
>no longer exist still appearing in the 4D Insider variable list, even
>though no occurrences show in the left-hand list when I click on the var
>in the center list.
>
>Any suggestions for how a variable can exist in a structure without being
>referenced anywhere?
>
>
>
>George Tiller
>911 East A Street
>Brunswick, Maryland 21716
>
>
>**********************************************************************
>Get the speed and power of 4D v11 SQL
>before upgrade prices increase - http://www.4d.com
>  
>
>4D Internet Users Group (4D iNUG)
>FAQ:  http://lists.4d.com/faqnug.html
>Archive:  http://lists.4D.com/archives.html
>Options: https://lists.4d.com/mailman/options/4d_tech
>Unsub:  mailto:4D_Tech-Unsubscribe@...
>**********************************************************************


--
Doug Cottrill
PTM Software, LLC

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Re: 4D Insider v2004 and an old structure

by Peter Jakobsson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ouch ! You just pressed my tech-nostalgia button - apologies for the  
brief indulgence.

On 3 Nov 2009, at 21:34, Douglas von Roeder wrote:

> Those were "externals" and they were moved in and out of a structure  
> using
> External Mover.


... and you * didn't * have to install them in the structure file.  
They worked exactly like the plugins of today except they had to be  
installed in a document called 'procext' which you then just dropped  
into the structure folder.

The v1 language reference was about the only time I've ever read a  
manual from cover to cover since I had a pretty bad flu in the summer  
of 1988 and spent a week in convalescence with nothing else to do.

Other interesting 'artifacts' of the day included:

ACTIVATE LINK - you had to call this when you saved a record with a  
related one so that 4D would store the address of the related record  
in the many file
INDEXES WERE DOCUMENTS - yes, 20 years ahead of their time. You just  
had to drag them to the wastebasket to delete an index
FLOWCHARTS - write your code in inside big squares and diamond shapes  
if you didn't want to type 'IF' and 'Else' !!
LOAD LINKED RECORD - yesterday's 'RELATE ONE'
HORRIBLE BLACK RUBBERY WALLETS - for storing your 4D floppies,  
possibly inspired by Lotus Jazz (Maybe that came with v2 ?)

All pretty amazing stuff for it's day though.

Peter

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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

Parent Message unknown Re: 4D Insider v2004 and an old structure

by George Tiller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Doug, I think that this was what happened in most of the cases I
noticed. I haven't deleted any methods or forms under v2004 before this.
I'm doing major surgery on a very old program, and there are so many
problems that I'm amazed the client can actually use the program to run
his business. If/when we go to v11 SQL, I'm going to push very hard for
starting with a fresh structure.


On 11/3/09 3:40 PM, dkc@... wrote:

>Do you have any methods in the trash can that have not
>yet been deleted?  Variables and methods (and forms I think)
>will still register as being used, but no longer cross referenced.
>
>
>>I'm currently bug-swatting in a 4D program that was originally created
>>(by my client himself) in 4D v1 or v2 (US version) and simply upgraded
>>with each new 4D version. The previous version was v2003 and v6.x before
>>that, and I'm trying to get it cleaned up by making variable names
>>descriptive and consistent, fixing variable typing errors, etc.
>>
>>I've been using 4D Insider v2004 for a lot of the renaming, and it
>>appears to be working ok. However, I've been seeing variables that should
>>no longer exist still appearing in the 4D Insider variable list, even
>>though no occurrences show in the left-hand list when I click on the var
>>in the center list.
>>
>>Any suggestions for how a variable can exist in a structure without being
>>referenced anywhere?



George Tiller
911 East A Street
Brunswick, Maryland 21716


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

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