Yesterday 23:29
Forum: Proton Plus Compiler v3
Starter: H-bert
Views: 2350
Replies: 37
Yesterday 15:30
Forum: LCD module
Starter: Dompie
Views: 0
Replies: 0
Yesterday 15:11
Forum: Proton Users File Server
Starter: Dompie
Views: 0
Replies: 0
Yesterday 15:05
Forum: Proton Users File Server
Starter: Dompie
Views: 0
Replies: 0
Go to last post By: shantanu@india
Yesterday 07:01
Forum: The Lounge
Starter: shantanu@india
Views: 0
Replies: 1
+ Reply to Thread
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 54

Thread: A new Stats collector plugin294 days old

  1. #11
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,293
    Thumbs Up
    Received: 47
    Given: 117
    Total Downloaded
    2.36 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    John, sorry to be a pain. I guess you are correct about the curly brackets indicating option parameters, although the only complex example of in the manual uses curly brackets. Anyways, I've removed the curly brackets and recompiled and it appears they are not optional (source compiles but doesn't run - .LST is wildly different)

    BTW when I said "output area" in an earlier post, I meant the compiler results.
    George

  2. #12
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,096
    Thumbs Up
    Received: 56
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    I have resolved the curly brackets issue, pm me your email address and I will send a patched Stats collector.
    JohnB

  3. #13
    Junior Member ta1dr's Avatar
    Join Date
    Feb 2002
    Posts
    59
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    157.68 MB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    thanks for share
    merry christmas all proton and all people

  4. #14
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,293
    Thumbs Up
    Received: 47
    Given: 117
    Total Downloaded
    2.36 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    Confirmed curly brackets fixed.

    Could you take a look at the alternate array subscript construct ie Some_array#10 (Les posted somewhere that it's "better" then the more traditional Some_array[10])

    I don't see subs in include file (I assume that Procedures in reporter refers to GoSub)
    Last edited by towlerg; 30th December 2016 at 12:03.
    George

  5. #15
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,903
    Thumbs Up
    Received: 76
    Given: 25
    Total Downloaded
    1.37 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    A clarification George, what do you mean by "can't see subs in include file?"
    John D
    Last edited by John Drew; 30th December 2016 at 12:45. Reason: typo

  6. #16
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,293
    Thumbs Up
    Received: 47
    Given: 117
    Total Downloaded
    2.36 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    A clarification George, what do you mean by "can't see subs in include file?"
    As we all know Proton does not have classic procedures (a call with parameters and a return with a value - eg. the Win32 api) so I'm assuming, possibly incorrectly, that when John's plugin lists procedures he is referring to the GoSub Label...Return construct. I have an included .inc file which has several GoSub Label...Return constructs which are "called" several times but the Procedures section of Collector is empty.
    George

  7. #17
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,903
    Thumbs Up
    Received: 76
    Given: 25
    Total Downloaded
    1.37 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    Good call George. I missed that. The Stats program finds them as it was able to identify an unused sub routine. It must be just the printout.
    John D

  8. #18
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,096
    Thumbs Up
    Received: 56
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    Happy new year one and all. Sitting here in Southwold on the east coast watching the rain. Hoping it might brighten up later.

    Some clarification is needed here I think...

    I try and match up labels to calls. i.e I identify all the label declarations and the look if they are called. So missing labels would indicate where a label, typically heading a subroutine, isn't actually called anywhere in the code.

    A procedure is P24 style Proc and would only apply to P24 programs.

    Regarding the alernative indexing of arrays, I will look to include this if possible.
    JohnB

  9. #19
    Article Author johngb's Avatar
    Join Date
    Oct 2003
    Posts
    2,096
    Thumbs Up
    Received: 56
    Given: 0
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    Regarding # indexing to arrays...
    The reason using the myarray#n is sometimes more efficient is because you are actually addressing directly a variable. This makes sense if you are addressing the array randomly. If however you want to address it seqentiallly / relatively I am guessing PDS will use indirect addressing which would be more efficient.

    Either way the array would be declared in the normal way [] way so the only change I need to make is to look for # as a delimiter to determine if it has been accessed in the code. For P24 the # is replaced with an underscore so I will add that into my code.

    I think I will make the app device core aware so that I hide the Procedures unless the core is P24. I can also handle the different array indexing at the same time.
    JohnB

  10. #20
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,293
    Thumbs Up
    Received: 47
    Given: 117
    Total Downloaded
    2.36 GB

    0 Not allowed!

    Default Re: A new Stats collector plugin

    Sorry re earlier confusion about non appearance of procedures, it's obvious from above that you meant classic ala P24.

    I had no idea that Proton and P24 were similar enough to allow this kink of utility to work on both.
    George

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. johngb has just uploaded PDS Stats Plugin!
    By johngb in forum Proton Users File Server
    Replies: 0
    Last Post: 27th December 2016, 23:26
  2. forum stats
    By Lester in forum The Lounge
    Replies: 3
    Last Post: 5th March 2010, 14:41
  3. New Version of Stats Viewer Plug-In
    By johngb in forum Third Party Developments
    Replies: 0
    Last Post: 25th September 2008, 14:34
  4. Proton Stats Viewer Plug-In
    By johngb in forum Third Party Developments
    Replies: 20
    Last Post: 22nd September 2008, 21:05

Members who have read this thread since 18th October 2017, 15:04 : 0

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts