Re: A89: Re: Re: Custom Variables
[Prev][Next][Index][Thread]
Re: A89: Re: Re: Custom Variables
I'd say look at Zeljko Juric's docs on TI VAT functions. I've
found nothing really too difficult about making the transition from
using ANSI file functions to VAT functions after skimming the docs.
On Sat, 15 Jul 2000, Michael Cowart wrote:
>
> It's easy! Here's how to make a variable named "example" with the type "SAV"
>
> FILE *fp = fopen ("example", "wb");
> // file data here
> fputc (0, fp);
> fputs ("SAV", fp);
> fputc (0, fp);
> fputc (OTH_TAG, fp);
> fclose (fp);
>
> and voila! You have a variable named example with type SAV. The only problem
> is that these are ANSI functions, and increase the size of the code. Low
> level VAT functions are much better.
>
> Michael Cowart
>
>
>
> >
> > Hello!
> > How do you create custom type variables in the first place? I didn't
> > know you could. That would be useful. Just think of it: LIB type
> > variables, instead of ASM for libraries and programs too!
> >
> > James Darpinian
> >
> >
> > ----- Original Message -----
> > From: Michael Cowart <freakonaleash881@hotmail.com>
> >
> > > How would I use low level VAT functions to create a custom type variable
> > on
> > > the calc with TI-GCC?
> >
> >
> >
> >
>
References: