Announcement

Collapse
No announcement yet.

How to do a Global Variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Corey
    replied
    Re: How to do a Global Variable

    Yep, sure will. [img]/ubbthreads/images/icons/smile.gif[/img]

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • Seraph_SGN
    replied
    Re: How to do a Global Variable

    So let's say if I do the following in page1
    %night%=false

    then in page 2 %night% will be false right?

    Thanks Corey!

    L

    Leave a comment:


  • Corey
    replied
    Re: How to do a Global Variable

    Hi, variables actually are global to your project in AMS... If you are asking how to create persistent data, that can be easily achieved by writing a registry key or ini file using the corresponding actions...

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • Seraph_SGN
    started a topic How to do a Global Variable

    How to do a Global Variable

    I am designing an application to use as an interface for the multimedia pc. I am looking for ways to do day/night mode. I think the simplest way is to put 2 sets of data on one each page, one of day and one for night and when clicked on a button (or when the time changes on the computer), I want it to show one set and hide the other set.

    Since it will have multiple pages, I would like to set all of them to load day or night depending on a global variable (Boolean). How would I go about doing that? I think it's right under my nose but I can't seem to find it. Also, the last time I coded a program was back in 2000 so my brains are not where they should be.

    Thanks for your help.

    Lwin
Working...
X