Problem with COPY DOCUMENT

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

Parent Message unknown Problem with COPY DOCUMENT

by Fred Zelinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4D 2004.5, Mac server, XP Client, I pass a pdf from the server,
test path name to verify that the file exists, then call COPY
DOCUMENT on the client. I get an error that the file doesn't exist,
even though test path name has returned 1 and I can see the file in
the proper folder.

Anyone have an idea about this?

TIA,

Fred Zelinsky
Crowsnest Software
Berkeley, CA
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

RE: Problem with COPY DOCUMENT

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

Are you using the optional * as the last parameter in this command?  If not,
put it in, and give this a try.


Steve  :-)

 

-----Original Message-----
From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On
Behalf Of Fred Zelinsky
Sent: Thursday, June 26, 2008 1:56 PM
To: 4d_tech@...
Subject: Problem with COPY DOCUMENT

On 4D 2004.5, Mac server, XP Client, I pass a pdf from the server,
test path name to verify that the file exists, then call COPY
DOCUMENT on the client. I get an error that the file doesn't exist,
even though test path name has returned 1 and I can see the file in
the proper folder.

Anyone have an idea about this?

TIA,

Fred Zelinsky
Crowsnest Software
Berkeley, CA



**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with COPY DOCUMENT

by Paul Medland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fred,

Ensure that the second parameter to copy document is the COMPLETE path to
the output path not just a target folder.

Regards,

--
 
Paul Medland
QuickTrac Developer
Hamilton, Ontario, CA
Web:  www.quicktrac.com




> From: Fred Zelinsky <zelinsky@...>
> Reply-To: 4D iNug Tech <4d_tech@...>
> Date: Thu, 26 Jun 2008 11:55:39 -0700
> To: <4d_tech@...>
> Subject: Problem with COPY DOCUMENT
>
> On 4D 2004.5, Mac server, XP Client, I pass a pdf from the server,
> test path name to verify that the file exists, then call COPY
> DOCUMENT on the client. I get an error that the file doesn't exist,
> even though test path name has returned 1 and I can see the file in
> the proper folder.
>
> Anyone have an idea about this?
>
> TIA,
>
> Fred Zelinsky
> Crowsnest Software
> Berkeley, CA
> **********************************************************************
> 4D Server v11 SQL has arrived!
> Buy it NOW at http://store.4ddepot.com
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Parent Message unknown RE: Problem with COPY DOCUMENT

by Fred Zelinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stephen Orth said:


>Are you using the optional * as the last parameter in this command?  If not,
>put it in, and give this a try.
>

Tried it, got the same "File not found" message.

I'm using the complete path, as in "C:\Documents and Settings\Fred
Zelinsky\My Documents\13000_00\A_Order13000.pdf" passed in a
variable. And yes, I did try using the "\\" syntax.

Thanks,

Fred Zelinsky
Crownest Software
Berkeley, CA
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

RE: Problem with COPY DOCUMENT

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

We are struggling with this exact problem at one customer site.  As far as
we can tell, the message is a misnomer.

I ran tests to see what would cause this error, and I believe it happens if
the file already exists and you did not pass the *.  I also believe it
happens when you pass an invalid path (which by the way you have to use \\).

If you figure this one out, please let me know, because this is a real pain
in my side, and the customer is not happy that this message keeps popping
up.

You may want to try something, but not sure it will fix it....

Try using a path with no spaces in it, something like C:\Temp\XXX.PDF


Steve  :-)


-----Original Message-----
From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On
Behalf Of Fred Zelinsky
Sent: Thursday, June 26, 2008 2:41 PM
To: 4d_tech@...
Subject: RE: Problem with COPY DOCUMENT

Stephen Orth said:


>Are you using the optional * as the last parameter in this command?  If
not,
>put it in, and give this a try.
>

Tried it, got the same "File not found" message.

I'm using the complete path, as in "C:\Documents and Settings\Fred
Zelinsky\My Documents\13000_00\A_Order13000.pdf" passed in a
variable. And yes, I did try using the "\\" syntax.

Thanks,

Fred Zelinsky



**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

RE: Problem with COPY DOCUMENT

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I didnt count -
could it be a matter of too long a path?

as I recall there is a 255 character limit to paths
(or at least there was)


On Thu, 26 Jun 2008 14:49:55 -0500, Stephen Orth wrote:

> Fred,
>
> We are struggling with this exact problem at one customer site.  As far as
> we can tell, the message is a misnomer.
>
> I ran tests to see what would cause this error, and I believe it happens if
> the file already exists and you did not pass the *.  I also believe it
> happens when you pass an invalid path (which by the way you have to use \\).
>
> If you figure this one out, please let me know, because this is a real pain
> in my side, and the customer is not happy that this message keeps popping
> up.
>
> You may want to try something, but not sure it will fix it....
>
> Try using a path with no spaces in it, something like C:\Temp\XXX.PDF
>
>
> Steve  :-)
>
>
> -----Original Message-----
> From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On
> Behalf Of Fred Zelinsky
> Sent: Thursday, June 26, 2008 2:41 PM
> To: 4d_tech@...
> Subject: RE: Problem with COPY DOCUMENT
>
> Stephen Orth said:
>
>
>> Are you using the optional * as the last parameter in this command?  If
> not,
>> put it in, and give this a try.
>>
>
> Tried it, got the same "File not found" message.
>
> I'm using the complete path, as in "C:\Documents and Settings\Fred
> Zelinsky\My Documents\13000_00\A_Order13000.pdf" passed in a
> variable. And yes, I did try using the "\\" syntax.
>
> Thanks,
>
> Fred Zelinsky
>
>
>
> **********************************************************************
> 4D Server v11 SQL has arrived!
> Buy it NOW at http://store.4ddepot.com
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************
>
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Parent Message unknown Re: Problem with COPY DOCUMENT

by David Nasralla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fred,

Does the "TEST PATH NAME" for the target FOLDER work?

d

On Thu, Jun 26, 2008 at 12:55 PM, Fred Zelinsky <zelinsky@...> wrote:
> On 4D 2004.5, Mac server, XP Client, I pass a pdf from the server, test path
> name to verify that the file exists, then call COPY DOCUMENT on the client.
> I get an error that the file doesn't exist, even though test path name has
> returned 1 and I can see the file in the proper folder.

> Fred Zelinsky

--
David Nasralla
Clean Air Engineering
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with COPY DOCUMENT

by Paul Medland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Another issue might be one of the sub folders of the source does not exist
(although I think you mentioned that the source was verified)

Another might be permissions.

Regards,
--
 
Paul Medland
QuickTrac Developer
Hamilton, Ontario, CA
Web:  www.quicktrac.com




> From: Fred Zelinsky <zelinsky@...>
> Reply-To: 4D iNug Tech <4d_tech@...>
> Date: Thu, 26 Jun 2008 12:41:15 -0700
> To: <4d_tech@...>
> Subject: RE: Problem with COPY DOCUMENT
>
> Stephen Orth said:
>
>
>> Are you using the optional * as the last parameter in this command?  If not,
>> put it in, and give this a try.
>>
>
> Tried it, got the same "File not found" message.
>
> I'm using the complete path, as in "C:\Documents and Settings\Fred
> Zelinsky\My Documents\13000_00\A_Order13000.pdf" passed in a
> variable. And yes, I did try using the "\\" syntax.
>
> Thanks,
>
> Fred Zelinsky
> Crownest Software
> Berkeley, CA
> **********************************************************************
> 4D Server v11 SQL has arrived!
> Buy it NOW at http://store.4ddepot.com
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with COPY DOCUMENT

by Arnaud de Montard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 26 juin 08 à 21:41, Fred Zelinsky a écrit :

> I'm using the complete path, as in "C:\Documents and Settings\Fred  
> Zelinsky\My Documents\13000_00\A_Order13000.pdf" passed in a  
> variable. And yes, I did try using the "\\" syntax.[...]

not a solution if you want to keep a copy in the same volume, but does  
MOVE DOCUMENT work ?

--
Arnaud de Montard



**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with COPY DOCUMENT

by Owen Watson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it a freshly created file that refuses to show up?

I've solved this problem by doing a DELAY PROCESS for about half a second.
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

RE: Problem with COPY DOCUMENT

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Owen,

In our case, I have tried introducing delays, but it really has not solved
the problem.

I just wish the error was more informative as to what really is happening.


Steve  :-)


-----Original Message-----
From: Owen Watson [mailto:o.m.watson@...]
Sent: Thursday, June 26, 2008 5:07 PM
To: 4D iNug Tech
Cc: s.orth@...
Subject: Re: Problem with COPY DOCUMENT

Is it a freshly created file that refuses to show up?

I've solved this problem by doing a DELAY PROCESS for about half a second.
This message scanned by InterTech USA, Inc. using F-Prot, AVG and Trend
Micro Anti-Virus Systems.




**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Problem with ARRAY TO LIST

by Mehboob Alam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm playing with an old 4D sample file that catalogs the files on a disk, and trying it out with 4Dv11. I ran into this code

C_LONGINT(◊VolumeHList)
ARRAY STRING(31;$aVolumes;0)
◊VolumeHList:=New list
VOLUME LIST($aVolumes)
...
ARRAY TO LIST($aVolumes;◊VolumeHList)

generates a runtime error

"An Alphanumeric argument was expected."

$aVolumes has two elements, the names of the two partitions on my laptop. <>VolumeHList is a numeric value..

I'm not that familiar with hierarchal lists, so I'm not sure what's up here..

The alternate syntax that I'm familiar with would have put the two string items into the list. The would be the list defined in the designer mode.




**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with ARRAY TO LIST

by Christian Sakowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Notice: ARRAY TO LIST is obsolete since v6. Maybe you can try SAVE LIST.
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
Christian.sakowski@...
iChat/AIM: SakowskiF
ICQ: 4thDimension (267537916)
Tel: 040/52 10 59-23

--
Besuchen Sie heubach media auf folgender Messe:
Buchmesse Frankfurt, 15.-19. Oktober 2008, Frankfurt Messe - Halle: 4.2

www.smartCatalog.de        - einfach und schnell Kataloge produzieren
www.secPaper.de            - sicher und einfach Zeitschriften, Bücher und
Informationen digital vertreiben
www.projektis.de           - professionelles CRM, ERP &
Projektmanagement-System
www.book-ranking.com       - schnelle Internet Verkaufskontrolle
www.address-webservice.com - einfach schnell Adressen aktualisieren
www.hmplugins.com          - 4D Plugins - erweitern Sie Ihr Business

heubach media
Papenreye 22 | 22453 Hamburg
Tel: 040 / 52 10 59 - 0 | Fax: -99
Mail: info@...
Home: www.heubach-media.de
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihr IT-Equipment unter:
http://www.it-verleih.de/


> Von: Mehboob Alam <media4d@...>
> Antworten an: 4D iNug Tech <4d_tech@...>
> Datum: Thu, 26 Jun 2008 15:20:12 -0700 (PDT)
> An: 4D iNug Tech <4d_tech@...>
> Betreff: Problem with ARRAY TO LIST
>
> I'm playing with an old 4D sample file that catalogs the files on a disk, and
> trying it out with 4Dv11. I ran into this code
>
> C_LONGINT(×VolumeHList)
> ARRAY STRING(31;$aVolumes;0)
> ×VolumeHList:=New list
> VOLUME LIST($aVolumes)
> ...
> ARRAY TO LIST($aVolumes;×VolumeHList)
>
> generates a runtime error
>
> "An Alphanumeric argument was expected."
>
> $aVolumes has two elements, the names of the two partitions on my laptop.
> <>VolumeHList is a numeric value..
>
> I'm not that familiar with hierarchal lists, so I'm not sure what's up here..
>
> The alternate syntax that I'm familiar with would have put the two string
> items into the list. The would be the list defined in the designer mode.
>
>
>
>
> **********************************************************************
> 4D Server v11 SQL has arrived!
> Buy it NOW at http://store.4ddepot.com
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************
>


**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with ARRAY TO LIST

by Christian Sakowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> ARRAY TO LIST($aVolumes;×VolumeHList)
Yes, use SAVE LIST. The second parameter must be a string. Just pass the
name of the list:

http://www.4d.com/docs/CMU/CMU00287.HTM
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
Christian.sakowski@...
iChat/AIM: SakowskiF
ICQ: 4thDimension (267537916)
Tel: 040/52 10 59-23

--
Besuchen Sie heubach media auf folgender Messe:
Buchmesse Frankfurt, 15.-19. Oktober 2008, Frankfurt Messe - Halle: 4.2

www.smartCatalog.de        - einfach und schnell Kataloge produzieren
www.secPaper.de            - sicher und einfach Zeitschriften, Bücher und
Informationen digital vertreiben
www.projektis.de           - professionelles CRM, ERP &
Projektmanagement-System
www.book-ranking.com       - schnelle Internet Verkaufskontrolle
www.address-webservice.com - einfach schnell Adressen aktualisieren
www.hmplugins.com          - 4D Plugins - erweitern Sie Ihr Business

heubach media
Papenreye 22 | 22453 Hamburg
Tel: 040 / 52 10 59 - 0 | Fax: -99
Mail: info@...
Home: www.heubach-media.de
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihr IT-Equipment unter:
http://www.it-verleih.de/


> Von: Mehboob Alam <media4d@...>
> Antworten an: 4D iNug Tech <4d_tech@...>
> Datum: Thu, 26 Jun 2008 15:20:12 -0700 (PDT)
> An: 4D iNug Tech <4d_tech@...>
> Betreff: Problem with ARRAY TO LIST
>
> I'm playing with an old 4D sample file that catalogs the files on a disk, and
> trying it out with 4Dv11. I ran into this code
>
> C_LONGINT(×VolumeHList)
> ARRAY STRING(31;$aVolumes;0)
> ×VolumeHList:=New list
> VOLUME LIST($aVolumes)
> ...
> ARRAY TO LIST($aVolumes;×VolumeHList)
>
> generates a runtime error
>
> "An Alphanumeric argument was expected."
>
> $aVolumes has two elements, the names of the two partitions on my laptop.
> <>VolumeHList is a numeric value..
>
> I'm not that familiar with hierarchal lists, so I'm not sure what's up here..
>
> The alternate syntax that I'm familiar with would have put the two string
> items into the list. The would be the list defined in the designer mode.
>
>
>
>
> **********************************************************************
> 4D Server v11 SQL has arrived!
> Buy it NOW at http://store.4ddepot.com
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************
>


**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with ARRAY TO LIST

by Mehboob Alam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian, this is what I'm puzzling over.. the code clearly creates a new HList, so it's not trying to save to an existing old-style list. The syntax-checked in 4Dv11 (std edition) does not flag this line in any way.


sincerely,
mehboob alam

To make a bad day worse, spend it wishing for the impossible.


--- On Thu, 6/26/08, Christian Sakowski <christian.sakowski@...> wrote:

> From: Christian Sakowski <christian.sakowski@...>
> Subject: Re: Problem with ARRAY TO LIST
> To: "4D iNug Tech" <4d_tech@...>
> Date: Thursday, June 26, 2008, 6:24 PM
> > ARRAY TO LIST($aVolumes;×VolumeHList)
> Yes, use SAVE LIST. The second parameter must be a string.
> Just pass the
> name of the list:
>
> http://www.4d.com/docs/CMU/CMU00287.HTM
> --
>

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Re: Problem with ARRAY TO LIST

by MIYAKO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

There was an undocumented feature in 2004 where you could use
ARRAY TO LIST, LIST TO ARRAY with list references instead of list names.
Such codes would pass the compiler and work in compiled mode.

I can confirm that the code will still pass compilation in v11,
but will generate a runtime error. (interpreted of complied)

(a strong argument not to rely on undocumented features....)

miyako

On 2008/06/27, at 7:30, Mehboob Alam wrote:

> Christian, this is what I'm puzzling over.. the code clearly creates  
> a new HList, so it's not trying to save to an existing old-style  
> list. The syntax-checked in 4Dv11 (std edition) does not flag this  
> line in any way.
>
>
> sincerely,
> mehboob alam
>
> To make a bad day worse, spend it wishing for the impossible.
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at