Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

JScript type mismatch error calling by ref arguments

2 posts in General Discussion (old) Last posting was on 2000-02-26 01:40:27.0Z
steve leclair Posted on 2000-02-24 13:01:00.0Z
Newsgroups: sybase.public.easerver
From: "Steve LeClair" <sleclair@p21.com>
Subject: JScript type mismatch error calling by ref arguments
Date: Thu, 24 Feb 2000 08:01:00 -0500
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: cerberus.p21.com 208.15.237.100
Message-ID: <347_loXGSfsf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27944
Article PK: 159638

I'm getting a JScript type mismatch error when I call my PB componets in jag
( using the jag orb). We have two in/out arguments in the method. The same
call from VBScript works fine. Looks like calling by ref arguments in not
available in JScript.

Can anyone confirm this conclusion?

Thanks...Steve


Steve LeClair Posted on 2000-02-26 01:40:27.0Z
Newsgroups: sybase.public.easerver
From: "Steve LeClair" <steve@p21.com>
Subject: Re: JScript type mismatch error calling by ref arguments
Date: Fri, 25 Feb 2000 20:40:27 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: usr85.haz.intergrafix.net 206.245.181.85
Message-ID: <347_#eqnJv$f$GA.251@forums.sybase.com>
References: <347_loXGSfsf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27763
Article PK: 159119

BTW- microsoft msdn docs confirmed the obvious, JScript does NOT support
reference arguments.

What we do as a simple workaround is have JScript call a VBScript function
that manages the calls to Jag. Works fine...Steve

Steve LeClair <sleclair@p21.com> wrote in message
news:loXGSfsf$GA.151@forums.sybase.com...
> I'm getting a JScript type mismatch error when I call my PB componets in
jag
> ( using the jag orb). We have two in/out arguments in the method. The same
> call from VBScript works fine. Looks like calling by ref arguments in not
> available in JScript.
>
> Can anyone confirm this conclusion?
>
> Thanks...Steve
>
>