473,509 Members | 2,946 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

8.0.0 beta 2, void type

I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am
experiencing some
problems with the void type within pl functions. I am calling a
function which
returns a void from within another function and have defined a
variable of type
void to catch the returned value. This worked fine in 7.4.x but
when executed
in 8 generates a "variable has pseudo-type void" error. Is this
a bug or a
change in functionality? Is there a workaround short of
rewritting all
functions to return a non-void value?

thanks,

Nick

Nov 23 '05 #1
2 2143
"Nick Hajek" <nh****@vishay.com> writes:
I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am
experiencing some problems with the void type within pl functions.
I am calling a function which returns a void from within another
function and have defined a variable of type void to catch the
returned value.


Er, why would you want to catch a void return value? Seems like
you ought to use a PERFORM statement.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #2
> > I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am
experiencing some problems with the void type within pl functions.
I am calling a function which returns a void from within another
function and have defined a variable of type void to catch the
returned value.


Er, why would you want to catch a void return value? Seems like
you ought to use a PERFORM statement.

regards, tom lane

I didn't know about PERFORM so was just doing what I discovered would work.
Thanks for the tip.

Nick


Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

48
3666
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL...
3
1890
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor...
4
4496
by: Adriano Coser | last post by:
I'm getting the following error: error C3767: PictureSource - candidate function(s) not accessible when accessing a public member function of a managed class, either from managed or unmanaged...
5
1273
by: PaulW | last post by:
When I compile the following code with the C++ compiler version 14.00.50215.44 (Microsoft Visual Studio 2005 beta 2) using the command line 'cl -W4 -clr:oldSyntax test.cpp' at run time I get a Null...
13
1591
by: Marcos B | last post by:
1) There was announced that the default providers for membership, profile, etc in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that AccessProvider will be discontinued. ...
16
2893
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
8
2495
by: jojobar | last post by:
Okay, I am trying to do is to test the webresource in 2.0 1. I created a new project with assembly name (and default assembly name) "Office". 2. I added the following to the AssemblyInfo.cs...
0
856
by: Nick Hajek | last post by:
I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am experiencing some problems with the void type within pl functions. I am calling a function which returns a void from within another...
0
1365
by: nhmark64 | last post by:
My PC was a completely screwed up mess. Nieither the unistall tool or the manual uninstall at http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx worked. I also tried the VS...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.