Welcome, Guest. Please login or register.

Author Topic: What does PURE mean in startup assigns?  (Read 3062 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mel_zoom

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 231
    • Show all replies
Re: What does PURE mean in startup assigns?
« on: March 03, 2007, 08:00:02 PM »
So, what is the "PURE" flag actually used for? I know that some commands complain they cant be made resident in the shell unless you use this.

Does that mean they arent really supposed to be made resident?
I love my MX5!
Please pay a visit
 

Offline mel_zoom

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 231
    • Show all replies
Re: What does PURE mean in startup assigns?
« Reply #1 on: March 03, 2007, 08:05:54 PM »
So what qualifies a pure or impure command? Is it something about the way they were written?
I love my MX5!
Please pay a visit
 

Offline mel_zoom

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 231
    • Show all replies
Re: What does PURE mean in startup assigns?
« Reply #2 on: March 03, 2007, 08:25:18 PM »
Piru:

"Pure apps can't use globals/static data."

I thought all C string literals were basically static though? If that is true does it mean you can use global and static data provided it is constant?
I love my MX5!
Please pay a visit