[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mumps-l
Subject:    Re: Internal Cache function error
From:       Bob Wells <bobw () intersys ! com>
Date:       1999-08-25 14:06:00
[Download RAW message or body]


FYI.

This problem was resolved a few days ago. It was a simple typo in the
application source code, a leading underline in the argument to a Write
statement, as in

        Write _xyz

That form is (almost) valid syntax for a GetProperty callback - exactly
where the error was noted in the server (in GetProp^%mvb2, as originally
reported, below). But since the variable after the underline was not a
client control on a form, and no property name was given, an error was
registered, as it should be.

The $E on the left of an equal sign was not the problem. That was just my
speculation.


At 05:30 PM 8/24/99 -0400, you wrote:
>I don't think DSM will give a function error in either case.  It has
>supported $E and $P on the left of the equals for a long time.  The original
>behaviour of DSM was to delete the character range specified in the extract
>and then insert the new string in it's place padding with spaces if the new
>string was smaller:
>
>        ex. >S X="0123456789" S $E(X,4,6)="HI" W X
>            012HI 6789
>
>The ansi behaviour is to delete the specified range and replace with no
>padding:
>
>        ex. >S X="0123456789" S $E(X,4,6)="HI" W X
>            012HI6789
>
>
>Lawrence Harris
>LabVISION Development
>
>Eclipsys Corporation
>Mail:   100 13511 Commerce Parkway,
>Richmond BC, V6V 2J8
>Phone:  (604) 244-3256
>Fax:    (604) 273-2764
>Email: mailto:Lawrence.Harris@Eclipsys.com
>
>
>
>-----Original Message-----
>From: MUMPS List [mailto:MUMPS-L@LISTSERV.UGA.EDU]On Behalf Of LD Landis
>Sent: Tuesday, August 24, 1999 2:10 PM
>To: MUMPS-L@LISTSERV.UGA.EDU
>Subject: Re: Internal Cache function error
>
>
>Hi,
>
>  A case for "Open Source"??  ;-)
>
>Bob Wells wrote:
>>
>> The %mvb routines are the VisualM/CacheDirect server routines. %mvb2 is
>> used to handle callbacks from the server to the client.
>> In the source I have this line is
>>
>>         s $e(%mvbMSG,6)=$c(21)
>>
>> in a routine called GetProp, which gets properties of client controls, as
>in
>>
>>         Set x=_Text1.text
>>
>> What are you running as a Cache Direct server host? Is it a system that
>> does not support using $E or $P on the left of an equal sign? DSM, for
>> example, will run that way if a system switch is not set properly.
>>
>> It is not a stack overflow, but a Function error, which is generic for
>> misusing a function call.
>>
>> At 03:56 PM 8/19/99 -0400, you wrote:
>> >I am not sure how to figure out the following error:
>> >
>> ><FUNCTION>+43^%mvb2
>> >
>> >It seems to be an internal error as I can't
>> >load the routine %mvb2. Any clues on where to
>> >begin to look for this error would be appreciated. Is
>> >it a stack overflow?
>> >
>> >
>> >Michael S. Lavery
>> >
>> >Hospital Information Systems
>> >Saint Vincent's Hospital and Medical Center
>> >275 North St.
>> >Harrison, NY
>> >Phone (914)925-5566
>> >
>> >
>>
>
>--
>Cheers,
>        --ldl
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic