Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Deep Toaster on September 28, 2010, 07:51:11 pm

Title: prgm syntax
Post by: Deep Toaster on September 28, 2010, 07:51:11 pm
I just started using Axe 0.4.4, and I wanted to try out the #include thing. So I have a program full of data in prgmDATA, and the main program contains the line
prgmDATA
. But it won't compile, giving me the "BAD PROGRAM" error. What did I do wrong?
Title: Re: prgm syntax
Post by: SirCmpwn on September 28, 2010, 07:51:52 pm
Put a header in prgmDATA.  prgmDATA needs a header just like programs do.
Title: Re: prgm syntax
Post by: Builderboy on September 28, 2010, 08:07:07 pm
Specifically, whats recommended for use is ..NAME  since it also removes it from the compile menu
Title: Re: prgm syntax
Post by: Deep Toaster on September 28, 2010, 08:09:32 pm
Oh, I see, thanks!
Title: Re: prgm syntax
Post by: DJ Omnimaga on September 28, 2010, 11:27:08 pm
Specifically, whats recommended for use is ..NAME  since it also removes it from the compile menu
Nice trick. I was worried if I used many includes, I would end up with a cluttered compile menu. Thanks :)
Title: Re: prgm syntax
Post by: ztrumpet on September 28, 2010, 11:30:12 pm
Specifically, whats recommended for use is ..NAME  since it also removes it from the compile menu
Nice trick. I was worried if I used many includes, I would end up with a cluttered compile menu. Thanks :)
Oooh, I didn't know this trick.  * ZTrumpet uses. ;D
Title: Re: prgm syntax
Post by: Deep Toaster on September 30, 2010, 11:35:06 am
Yeah, the two periods trick does work. Why, though? Did Quigibo support that on purpose, or was that some sort of accidental feature?
Title: Re: prgm syntax
Post by: ACagliano on September 30, 2010, 12:14:05 pm
Yeah, the two periods trick does work. Why, though? Did Quigibo support that on purpose, or was that some sort of accidental feature?

Its in the User Guide. He recently added support for what he calls "Library Files", with a 2-period header that do not appear in the compile menu.