A89: Re: Re: Re: Re: Custom Variables


[Prev][Next][Index][Thread]

A89: Re: Re: Re: Re: Custom Variables





It has no idea how to use them... you can write a program to use them. I'm
making an RPG, and the graphics are going to be stored externally in a
custom variable.

Michael


>
>     Wow, that's neat.  How does the calculator know how to use custom
> variables?  If you had a library with the type "LIB," would you still be
> able to use it?  Or if you had a regular assembly language program, but
gave
> it a different type, would you still be able to run it?
>
>     James Darpinian
>
>
> ----- Original Message -----
> From: Michael Cowart <freakonaleash881@hotmail.com>
>
> > 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
>
>
>
>



References: