try
CUSTOMSCOPESWITCH = OFF (or whatever it's actually called).

This will at least trap spelling errors in the scope definition.

On Wednesday, July 6, 2005, at 01:56  PM, Stefan Gonick wrote:

This is all very strange. I'm on 5.5 on windows, and local & request
are interchangeable in all places.  I'm using 5.5.08 as my editor.

Stefan

At 04:38 PM 7/6/2005, you wrote:
> Request == Local
>
> They should be able to be used interchangeably. If it's truly doing
> what you report then it's a bug... a very serious bug...

I have been using them interchangeably as well. However, the Search Action
specifically states that the retruned array is of scope Request. In
addition, the Loop Action also specifically states that the Counter
Variable is of scope Request and referencing that variable as @@Request $
also fails.

> I'd double check everything, make sure there aren't any typos in the
> spelling of the scope or name of the variable.

NO spelling errors.

> Also, Does this only happen with use of the @@ shortcut?  or does it
> happen if you use <@Var> as well? I ask, because back in the Tango 2000 > days we noticed strange happenings when we used @@Scope$Name instead of
> <@Var Scope$Name> and completely abandoned using the @@ notation to
> avoid the strange things that were going on.  Perhaps some of those
> strange things are still present.

 I have not tried the <@VAR . . .> version.

I am using Dev Studio version 5.5.08.

Peter -

> /John
>
> Peter Fogg wrote:
>
>>This is essentially what I am doing. However, is this a bug or have I
>>missed something in the manual about Request scope?
>>
>>Peter -
>>
>>
>>
>>>This is why I always reassign the @@resultSet to my own variable.
>>><@ASSIGN request$myResults @@resultSet>
>>>
>>>Ben
>>>
>>>-----Original Message-----
>>>From: Peter Fogg [mailto:[EMAIL PROTECTED]
>>>Sent: Wednesday, July 06, 2005 1:01 PM
>>>To: [email protected]
>>>Subject: Witango-Talk: Scopes Local and Request
>>>
>>>A search Actions claims to return the results of the search in the
>>>variable, ResultSet, of scope Request. However, if the debugger is on,
>>>this line is displayed:
>>>
>>>[local$ Vars] [366] resultSet=[Array:13x2] variableTimeout=30
>>>
>>>In addition, attempts to reference the array via "@@Request$ . . ."
>>>returns nothing while "@@Local$ . . ." returns the expected data.
>>>
>>>I am running Witango Application Server 5.5 for Windows on Windows 2000
>>>5.002195, Service Pack 4.
>>>
>>>My apologies if I am requesting help on an issue which has been
>>> previously
>>>discussed, I just couldn't find any reference to it  in the list.
>>>
>>>Thanks for any help offered.
>>>
>>>Peter -
>>>
>>>___________________________________________________________________ _____
>>>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>>
>>>
>>>___________________________________________________________________ _____
>>>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>>
>>>
>>>
>>
>>
>>____________________________________________________________________ ____
>>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>
>>
>>
>
> ______________________________________________________________________ __
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to