Re: HP Prime variables Message #2 Posted by Geoff Quickfall on 30 Oct 2013, 9:09 p.m., in response to message #1 by Davi Ribeiro de Oliveira
Make more then one EXPORT command,
that is, break up your variables into two back to back EXPORT statements.
it seems there is an upper limit of the number of variables that one is able to place in and EXPORT (variables) statement. so I do this:
//declare variables.
EXPORT IN,OUT,NUM,EQL,TIM;
EXPORT OFA,OFB,ONA,ONB;
EXPORT TOA,TOB,CAA,CAB;
EXPORT SHA,SHB,LGA,LGB;
EXPORT WTA,WTB,WTC;
i went nuts but there was a reason. Firstly all the variables declared in a single EXPORT did not work. Since I have 5 subroutines i broke up the declaration into 5 EXPORT commands for easy editing. Each command set of variables applies to one subroutine.
cheers, geoff
try:
EXPORT TCátions()
EXPORT (Fe3,Fe2,H,NH,Na,K);
EXPORT (Cu,Zn,Al,Cr,Ca,Mg);
Edited: 30 Oct 2013, 9:11 p.m.
|