Global function ignored if warning during compile.

Hi,

Im using PB11.5.1, I notice that when i modify my global function and save 
then ignore the compilation warning, the function is not working when i 
tried to debug it didnt go through to that function. While the only reason 
in warning in compilation is the temporary table that is creating only 
during runtime and will drop after processing the data. But when I do export 
the function and import again hmm its working. Is this normal or a bug?

Thanks,
MPL 


0
MPL
7/30/2010 6:17:09 AM
sybase.powerscript 7704 articles. 0 followers. Follow

0 Replies
700 Views

Similar Articles

[PageSpeed] 46

Reply:

Similar Artilces:

Declaring Global Variables and Global External Function By PowerScript
Does anyone can tell me, can I declare the global external function / global Variables by PowerScript ( such as, within the application's open event ), not in 'declare painter' ??? Thanks Samkola No. They need to be declared within the Global Variables painter. Ron Gallagher, CPDP Atlanta, GA rongallagher@mindspring.com samkola wrote in message <01beee19$8715d2a0$2d01a8c0@testing>... >Does anyone can tell me, can I declare the global external function / >global Variables by PowerScript ( such as, within the application's open >event ), not i...

Global functions vs global userobject functions
Working with PB 7, I often ask myself what is the good way. My applications has one global instance of a userobject u_function and use also global functions. In some case, the choice of where to put a new function is evident. When I could need the function in dw expression, there are global, when I need to call functions with different parameters, they are userobject functions. But, the other functions ? Where is the best place for them ? Global or in the userobject ? I thnik u can go for Global functions Since u have in need in DW expression also. I think Overload wi...

Compilation Error on "Global.GetApplicationPath(Request)" Function
I have installed the portal application on a windows 2000 advanced server with IIS5. When I try to run the site I get a compilation error on the  Global.GetApplicationPath(Request) funtion throughout the site with any page that has that funtion in it. I get this error when running ASP.NET Framework 2.0. Example of error: D:\WINNT\system32> "D:\WINNT\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"D:\WINNT\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"D:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\portal\5c932d09\750ec...

"static inline" function has global visibility with no linker warning
I had 2 units with functions with the same name but different return types. In one unit the function was declared "static inline". The linker ended up using the "static inline" function in all cases. There was no linker warning that there were duplicate names. Here is a test case (as CB2009 console application, but the original problem was in a VCL forms app in CB2007). Set breakpoint at the return of main. find_time(i) should return 30, but returns 20. (Note: The order of linking may affect which version of round is used.) Tracing through the code s...

PB11 Migration
Hello All, Our Application has been migrated from PB8 to PB11. When it migrated i could see few warning , every warning says Function or Event must be declared before it can be compiled. Please find the few below which are related to PFE ---------- pfeapsrv.pbl(w_splash).w_splash.constructor.1: Warning C0209: Function or event 'constructor' must be declared before it can be compiled. pfeapsrv.pbl(w_splash).w_splash.timer.1: Warning C0209: Function or event 'constructor' must be declared before it can be compiled. pfeapsrv.pbl(w_splash).w_splash.close....

global function/sub function page
Hi I want to know how i can create a page with globol functions that is to be included every page of the site. Does anyone know how to do this or know of any tutorials - hopefully in asp 1x and in vb   thanks in advance Hesh for Global Function ....what you can do is .. develop a class with Static/Shared Methods.. and that would be accessible through out the application pages...here is an example C#  using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Mail;namespace RealEstate.Common{ public class CommonFunct...

How to store a function globally and then call the function?
Hello, I have the following function stored in X.asp.vb and I call it from X.asp (as below). My question is how can I store the function globally so I can call it from multiple .asp pages? I have been reading around this forum and is seems that placing the Function into a .vb class in App_Code is the way to go (which I have tried) The problem is I then don't now how to call it from X.asp Can anybody assist?  X.asp.vbPublic Function GetFormattedAddress(ByVal val1 As Object, ByVal val2 As Object, ByVal val3 As Object, ByVal val4 As Object, ByVal val5 As Object) As StringX.asp&l...

Global variables & global functions...
Hi, Is there any problem of using global variables & global functions in PB applications? (Other than maintenance of the app, of course.) I guess what I'm trying to ask here is, Is there any performance improvement at execution time by creating & using an userobject with instance variables & object functions rather than using global variables & global functions? Any of your suggestions are greatly appreciated. Thanks. Jeinutheen. No. There is no "noticable" difference calling a global function vs. calling an object function. Even ver...

Warning C0209: Function or event 'pfc_cancel' must be declared before it can be compiled.
Hi, I got below warning during migration from PB9 - PB11.5. Please help me how to solve these problem. Warning C0209: Function or event 'pfc_cancel' must be declared before it can be compiled. Go back to PB9. Do a full rebuild. Optimize each of your PBLs (including the PFC ones). Do another full rebuild. Try the migration again. If that fails, open up the source for the offending object (Right-click > "Edit Source") and make sure you see this line: event pfc_cancel ( ) It should be somewhere between the line: global type <class name> from &...

Concerning commit 04783dc7025 fix 'ignoring return value' compiler warnings
I'm curious as to why you didn't use the GCC_DIAG_IGNORE() mechanism that you introduced a few commits later. Does it not work for this? or perhaps you hadn't come up with the scheme yet at the time this commit was made? I think the GCC_DIAG_IGNORE is slightly preferable, if it works, as it doesn't involve having to introduce a variable that gets thrown away, and which the compiler may or may not be smart enough to optimize out. commit 04783dc7025287c5d75ab531602c7ec786a1e787 *Author: David Mitchell <davem@iabyn.com> Date: Sun Nov 24 19:44:41 2013 ...

Warning C0209: Function or event 'xxx' must be declared before it can be compiled
Using PB 10.5 5079 According to change request 431911, the issue of "Migration / Rebuild cause Warning C0209: Function or event 'xxx' must be declared before it can be compiled. The event declaration is NOT missing in the ancestor. no workaround" was supposedly fixed in PB 10.5 EBF_5063. My problem is that I get about 93 of these errors compiling in EBF 5079 that says "Warning C0209: Function or event 'xxx' must be declared before it can be compiled." In my case, it appears the events not compiling are, in fact, not in ancestors, but tha...

superreview granted: [Bug 270342] In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" : [
David Bienvenu <bienvenu@nventure.com> has granted Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 270342: In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" https://bugzilla.mozilla.org/show_bug.cgi?id=270342 Attachment 168078: (Av2b) <threadPane.js> https://bugzilla.mozilla.org/attachment.cgi?id=168078&action=edit ...

superreview cancelled: [Bug 270342] In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" :
neil@parkwaycc.co.uk <neil.parkwaycc.co.uk@myrealbox.com> has cancelled Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 270342: In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" https://bugzilla.mozilla.org/show_bug.cgi?id=270342 Attachment 166201: (Av1) <threadPane.js> https://bugzilla.mozilla.org/attachment.cgi?id=166201&action=edit ------- Additional Comments from neil@parkwaycc.co.uk <neil.parkw...

superreview requested: [Bug 270342] In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" : #2
Serge GAUTHERIE <gautheri@noos.fr> has asked David Bienvenu <bienvenu@nventure.com> for superreview: Bug 270342: In <threadPane.js>, "Warning: function MsgSortThreadPane does not always return a value" and "Warning: function MsgToggleThreaded does not always return a value" https://bugzilla.mozilla.org/show_bug.cgi?id=270342 Attachment 166201: (Av1) <threadPane.js> https://bugzilla.mozilla.org/attachment.cgi?id=166201&action=edit ...

Web resources about - Global function ignored if warning during compile. - sybase.powerscript

Wave function - Wikipedia, the free encyclopedia
... (a ball attached to a spring ) in classical mechanics (A-B) and quantum mechanics (C-H). In quantum mechanics (C-H), the ball has a wave function ...

TV binging, exercise skipping linked to poor cognitive function
... their fit, less TV-addicted counterparts. In particular, couch potatoes had slightly lower brain processing speeds and worse executive function, ...

iPhone best tricks and functions - Business Insider
Your iPhone can do a lot more than you think.

Review: HP Spectre 360 A Perfect Mix Of Style, Form, Function
HP Inc. delivers a brushed-aluminum laptop with a new 6th Generation Intel i7 processor, making it one of the best-looking, best-priced and best-performing ...

HPE Offers Catalog of Virtual Network Functions for Telcos
The vendor's OpenNFV Solution Portal gives carriers a single place to find a range of VNFs that are pre-tested to run on their networks.

Why Global Corporations Need To Redesign Their Strategic Planning Function
Corporate strategy teams play an important role in guiding business leaders to make smarter, better and more informed decisions, especially in ...

Sponsored post: Garmin’s fenix 3 Pairs Form and Function with GPS Watch
... timepiece to polish off a professional look, or strap on a rugged stopwatch for our workouts. But when it comes to everyday use, the functional ...

Code Craft – Embedding C++: Timing Virtual Functions
... compiler just like the standard language types. A subtype inherits the characteristics of its parent type and can use, or not, the member functions ...

Madras HC asks police to allow Tipu’s birth anniversary function
... Station on a petition filed by Ismail, General Secretary of Thamizhaga Makkal Jananayaga Katchi, seeking grant of permission to hold the function. ...

Colorado governor: This Planned Parenthood shooting may be a function of inflammatory rhetoric from bloggers ...
Via Grabien , skip to 4:45 of the clip below for the key bit. I naively thought we were (mostly) done with “climate of hate” stupidity after ...

Resources last updated: 12/11/2015 7:49:16 PM