HP Forums
mixing cas program with home programs: error - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: mixing cas program with home programs: error (/thread-3526.html)



mixing cas program with home programs: error - leprechaun - 04-01-2015 06:01 AM

hi,

I read in Han's Explanation on cas programming that you can mix cas functions with ordinary programs. Or at least that it should be doable. I have a collection of useful programs in a source file named ownprg. atm there are only normal programs.
Now I decided to add a Little cas program, but even if I stick to the Skeleton I get a Syntax error.: like
Code:

EXPORT one_prg(a)
BEGIN
(...)
END;

#cas
foo(args):=
BEGIN
END;
#end

That gives the Syntax error. The line is #cas
. Any ideas of what I am doing wrong there???


RE: mixing cas program with home programs: error - Marcus von Cube - 04-01-2015 09:20 PM

(04-01-2015 06:01 AM)leprechaun Wrote:  That gives the Syntax error. The line is #cas.
Any ideas of what I am doing wrong there???

Do you have installed the most recent firmware? #cas is a command that has only been added lately.