A4D 2.1b6

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A4D 2.1b6

Jim Redfield
The command

dump session

now fails with the following error message.

Where and how do we set $inReference? What is missing?

Jim Redfield

Expecting a numeric expression.
: (is an iterator($inReference))

Line     Source
2 Method "a4d_web.Dump Session"
4 Method "a4d_utils.Dump Collection"($inReference;$inName;$inShowType)


Reply | Threaded
Open this post in threaded view
|

Re: A4D 2.1b6

Michael Bond-5
Jim, it looks like the order of the parameters has changed. It was:
 
 `$inName  -> String  Name of the dumped entity
 `$inIterator -> Iterator Iterator to the collection to display
 `$inShowType ->  Boolean  True to show the value's type
 
and is now
 
 `$inReference -> Collection | Iterator Iterator to the collection to display
 `$inName  -> String     Name of the dumped entity
 `$inShowType ->  Boolean     True to show the value's type
 
The iterator is the second parameter in Dump Session and is the value returned by the "Session", "Global" or "Collection" commands. Taking a further look at the files we have it looks like all of the Dump* commands will be affected.
 
You could just flip the first two parameters in the new "Dump Collection" around and these commands should work.
 
Cheerio
 
Michael Bond
----- Original Message -----
Sent: Wednesday, October 23, 2002 4:44 PM
Subject: [Active4d-dev] A4D 2.1b6

The command

dump session

now fails with the following error message.

Where and how do we set $inReference? What is missing?

Jim Redfield

Expecting a numeric expression.
: (is an iterator($inReference))

Line     Source
2 Method "a4d_web.Dump Session"
4 Method "a4d_utils.Dump Collection"($inReference;$inName;$inShowType)