Re: Help with the "prgm" command
[Prev][Next][Index][Thread]
> rharford@gate.net (Roger Harford) writes:
> to the point:
> ti-83
> ti-basic
>
> Is there a way to make a program call another program through a variable
> in ti-basic? So that if you gave input to the computer, it would run the
> program that you input, no matter what you type in. Or maybe the name of
> the program could be stored in a string, and you could execute it with the
> prgm command. prgmStr1 doesn't work. prgm(Str1) doensn't work. I've tried
> everything, is there a way (without using zshell)?
>
> Thanks a lot,
> Roger Harford
>
>>>>
You can run any number of programs from inside a TI-83 program, and you
can let the user select which one to run in any number of ways, e.g. with
Menu( instructions, by branching on comparisons with user-entered strings,
etc., but it looks as if the program choices have to be hard-coded so that
the calling program can locate them at load time, not at execution time.
It may be possible to get around this in assembly language, but I have no
idea. Anyway, zshell is not an option -- it only runs on the TI-85. The TI-83
runs assembly language directly using Send(9progname.
Sorry.
Harry
References: