in

Kodigo

An all purpose Powerbuilder framework

Browse by Tags

  • Re: Constants/Enumerations

    I'm not exactly sure how PB constants works, but they seem to behave like a readonly static . Your guess is as good as mine on why they work But I have been using the technique since PB 7, I can't recall from who or where I found out about it.
    Posted to Futures Discussion (Forum) by yeyi on 03-17-2008
  • Re: Constants/Enumerations

    Well said, thanks Grismare. Roland, I also tried coding based on the proposed standards, and here are my thoughts: After so many years of Powerscript, it is difficult to unlearn the whole preifx/datatype way of writing, I only got over it when I imagined I was doing C#. But this framework will be used...
    Posted to Futures Discussion (Forum) by yeyi on 03-16-2008
  • Re: Constants/Enumerations

    OK, please correct me if I'm wrong. Let's assume we have a variable named FirstName Scope: Local: lFirstName Instance: iFirstName Shared: sFirstName Global: gFirstName Argument: aFirstName This is OK, but how about access to instance level (protected, private)? I was thinking of using underscores...
    Posted to Futures Discussion (Forum) by yeyi on 03-14-2008
  • Constants/Enumerations

    There is no support to create our own Enumerations in PB. Fortunately there is the workaround of creating a nonvisualobject and declaring public instance varables as constants. This approach enables us to get the value without having to instantiate the nvo. In the previous Kodigo, i prefixed all enumerations...
    Posted to Futures Discussion (Forum) by yeyi on 03-12-2008
Page 1 of 1 (4 items)
Gabriel Abulencia dela Torre 2008
Powered by Community Server (Non-Commercial Edition), by Telligent Systems