Results 1 to 2 of 2

Thread: Simple Question !

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    59

    Simple Question !

    How to access a SHARED variable declared in formula Initialize from formula Increment.
    For eg.
    a] // @Initialize Formula
    Shared NumberVar Ctr;
    Ctr :=0;

    b] //@Increment Formula;
    here I want to do something like this
    Ctr := Ctr +1;

    Any suggestions will really be appreciated.

    -Marjo

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    You need to include the exact same variable declaration in each formula.

    Add Shared NumberVar Ctr; to the Increment formula.

Posting Permissions

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



Click Here to Expand Forum to Full Width