DOCUMENT LIST Command Causes Size of array Command to

Koen Van Hooreweghe (10/29/08 9:07AM)


Koen Van Hooreweghe (10/29/08 9:07 AM)

Fail whena Dereferenced Local Array is Passed as a
Parameter

Doug,

I filed a bug report about this more than two and a half years ago.  

"Verified and reproducible", but it seems 4D never did something  

about it...

ACI0043119

Date19 janvier, 2006

Product4D - 4D Server

StatusVerified and reproducible

Version2004.3

PlatformWindows, MacIntel and PPC

Summary

DOCUMENT LIST not working with pointer to local array passed as  

parameter

Description

The following code does not work under Windows (similar faulty  

behavior on Mac)

ARRAY TEXT($array;0)

myDOCUMENT_LIST("C:/";->$array)

ALERT("Number of documents on C-drive: "+string(size of array($array))

Where myDOCUMENT_LIST is

C_TEXT($1;$path)

C_POINTER($2;$pointer)

$path:=$1

$pointer:=$2

DOCUMENT LIST($path;$pointer->)

Koen

Op 29-okt-08, om 08:58 heeft Douglas von Roeder het volgende
geschreven:

Based on what I'm seeing, when I pass a pointer to a local array  

and pass

the dereferenced pointer to the DOCUMENT LIST command, the Size of  

array

command fails.

--------------------

Compass bvba

Koen Van Hooreweghe

Kloosterstraat 65

9910 Knesselare

Belgium

bvbaCompass@...

Reply to this message

Summary created 10/29/08 at 8:49AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com