forked from debrouxl/gcc4ti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bascmd.html
2707 lines (2441 loc) · 191 KB
/
bascmd.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>bascmd.h</TITLE>
<STYLE TYPE="TEXT/CSS">
<!--
.IE3-DUMMY { CONT-SIZE: 100%; }
BODY { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; BACKGROUND-COLOR: #E0E0E0; }
P { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H1 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H2 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H3 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H4 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H5 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
H6 { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
UL { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; }
TD { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; BACKGROUND-COLOR: #FFFFFF; }
.NOBORDER { BACKGROUND-COLOR: #E0E0E0; PADDING: 0pt; }
.NOBORDER TD { FONT-FAMILY: Verdana,Arial,Helvetica,Sans-Serif; BACKGROUND-COLOR: #E0E0E0; PADDING: 0pt; }
.CODE { FONT-FAMILY: Courier New; }
-->
</STYLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#E0E0E0">
<FONT SIZE="5"><B>The <bascmd.h> Header File</B></FONT>
<HR>
<P><B>Routines for executing TI-Basic commands</B></P>
<H3><U>Functions</U></H3>
<DL INDENT="20"><DT><B><A HREF="#cmd_andpic">cmd_andpic</A></B><DD>Executes TI-Basic 'AndPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_archive">cmd_archive</A></B><DD>Executes TI-Basic 'Archive' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_blddata">cmd_blddata</A></B><DD>Executes TI-Basic 'BldData' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_circle">cmd_circle</A></B><DD>Executes TI-Basic 'Circle' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrdraw">cmd_clrdraw</A></B><DD>Executes TI-Basic 'ClrDraw' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrerr">cmd_clrerr</A></B><DD>Executes TI-Basic 'ClrErr' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrgraph">cmd_clrgraph</A></B><DD>Executes TI-Basic 'ClrGraph' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrhome">cmd_clrhome</A></B><DD>Executes TI-Basic 'ClrHome' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrio">cmd_clrio</A></B><DD>Executes TI-Basic 'ClrIO' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_clrtable">cmd_clrtable</A></B><DD>Executes TI-Basic 'ClrTable' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_copyvar">cmd_copyvar</A></B><DD>Executes TI-Basic 'CopyVar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_cubicreg">cmd_cubicreg</A></B><DD>Executes TI-Basic 'CubicReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_custmoff">cmd_custmoff</A></B><DD>Executes TI-Basic 'CustmOff' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_custmon">cmd_custmon</A></B><DD>Executes TI-Basic 'CustmOn' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_custom">cmd_custom</A></B><DD>Executes TI-Basic 'Custom' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_cycle">cmd_cycle</A></B><DD>Executes TI-Basic 'Cycle' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_cyclepic">cmd_cyclepic</A></B><DD>Executes TI-Basic 'CyclePic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_delfold">cmd_delfold</A></B><DD>Executes TI-Basic 'DelFold' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_delvar">cmd_delvar</A></B><DD>Executes TI-Basic 'DelVar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_dialog">cmd_dialog</A></B><DD>Executes TI-Basic 'Dialog' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_disp">cmd_disp</A></B><DD>Executes TI-Basic 'Disp' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_dispg">cmd_dispg</A></B><DD>Executes TI-Basic 'DispG' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_disphome">cmd_disphome</A></B><DD>Executes TI-Basic 'DispHome' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_disptbl">cmd_disptbl</A></B><DD>Executes TI-Basic 'DispTbl' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_drawfunc">cmd_drawfunc</A></B><DD>Executes TI-Basic 'DrawFunc' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_drawinv">cmd_drawinv</A></B><DD>Executes TI-Basic 'DrawInv' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_drawparm">cmd_drawparm</A></B><DD>Executes TI-Basic 'DrawParm' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_drawpol">cmd_drawpol</A></B><DD>Executes TI-Basic 'DrawPol' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_else">cmd_else</A></B><DD>Executes TI-Basic 'Else' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_endfor">cmd_endfor</A></B><DD>Executes TI-Basic 'EndFor' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_endloop">cmd_endloop</A></B><DD>Executes TI-Basic 'EndLoop' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_endtry">cmd_endtry</A></B><DD>Executes TI-Basic 'EndTry' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_endwhile">cmd_endwhile</A></B><DD>Executes TI-Basic 'EndWhile' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_exit">cmd_exit</A></B><DD>Executes TI-Basic 'Exit' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_expreg">cmd_expreg</A></B><DD>Executes TI-Basic 'ExpReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_fill">cmd_fill</A></B><DD>Executes TI-Basic 'Fill' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_fnoff">cmd_fnoff</A></B><DD>Executes TI-Basic 'FnOff' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_fnon">cmd_fnon</A></B><DD>Executes TI-Basic 'FnOn' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_for">cmd_for</A></B><DD>Executes TI-Basic 'For' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_get">cmd_get</A></B><DD>Executes TI-Basic 'Get' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_getcalc">cmd_getcalc</A></B><DD>Executes TI-Basic 'GetCalc' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_goto">cmd_goto</A></B><DD>Executes TI-Basic 'Goto' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_graph">cmd_graph</A></B><DD>Executes TI-Basic 'Graph' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_if">cmd_if</A></B><DD>Executes TI-Basic 'If' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_ifthen">cmd_ifthen</A></B><DD>Executes TI-Basic 'If'...'Then' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_input">cmd_input</A></B><DD>Executes TI-Basic 'Input' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_inputstr">cmd_inputstr</A></B><DD>Executes TI-Basic 'InputStr' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_line">cmd_line</A></B><DD>Executes TI-Basic 'Line' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_linehorz">cmd_linehorz</A></B><DD>Executes TI-Basic 'LineHorz' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_linetan">cmd_linetan</A></B><DD>Executes TI-Basic 'LineTan' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_linevert">cmd_linevert</A></B><DD>Executes TI-Basic 'LineVert' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_linreg">cmd_linreg</A></B><DD>Executes TI-Basic 'LinReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_lnreg">cmd_lnreg</A></B><DD>Executes TI-Basic 'LnReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_local">cmd_local</A></B><DD>Executes TI-Basic 'Local' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_lock">cmd_lock</A></B><DD>Executes TI-Basic 'Lock' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_logistic">cmd_logistic</A></B><DD>Executes TI-Basic 'Logistic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_lu_fact">cmd_lu_fact</A></B><DD>Executes TI-Basic 'LU' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_medmed">cmd_medmed</A></B><DD>Executes TI-Basic 'MedMed' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_movevar">cmd_movevar</A></B><DD>Executes TI-Basic 'MoveVar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_newdata">cmd_newdata</A></B><DD>Executes TI-Basic 'NewData' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_newfold">cmd_newfold</A></B><DD>Executes TI-Basic 'NewFold' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_newpic">cmd_newpic</A></B><DD>Executes TI-Basic 'NewPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_newplot">cmd_newplot</A></B><DD>Executes TI-Basic 'NewPlot' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_newprob">cmd_newprob</A></B><DD>Executes TI-Basic 'NewProb' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_onevar">cmd_onevar</A></B><DD>Executes TI-Basic 'OneVar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_output">cmd_output</A></B><DD>Executes TI-Basic 'Output' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_passerr">cmd_passerr</A></B><DD>Executes TI-Basic 'PassErr' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pause">cmd_pause</A></B><DD>Executes TI-Basic 'Pause' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_plotsoff">cmd_plotsoff</A></B><DD>Executes TI-Basic 'PlotsOff' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_plotson">cmd_plotson</A></B><DD>Executes TI-Basic 'PlotsOn' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_popup">cmd_popup</A></B><DD>Executes TI-Basic 'Popup' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_powerreg">cmd_powerreg</A></B><DD>Executes TI-Basic 'PowerReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_printobj">cmd_printobj</A></B><DD>Executes TI-Basic 'PrintObj' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_prompt">cmd_prompt</A></B><DD>Executes TI-Basic 'Prompt' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_ptchg">cmd_ptchg</A></B><DD>Executes TI-Basic 'PtChg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_ptoff">cmd_ptoff</A></B><DD>Executes TI-Basic 'PtOff' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pton">cmd_pton</A></B><DD>Executes TI-Basic 'PtOn' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pttext">cmd_pttext</A></B><DD>Executes TI-Basic 'PtText' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlchg">cmd_pxlchg</A></B><DD>Executes TI-Basic 'PxlChg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlcircle">cmd_pxlcircle</A></B><DD>Executes TI-Basic 'PxlCircle' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlhorz">cmd_pxlhorz</A></B><DD>Executes TI-Basic 'PxlHorz' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlline">cmd_pxlline</A></B><DD>Executes TI-Basic 'PxlLine' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxloff">cmd_pxloff</A></B><DD>Executes TI-Basic 'PxlOff' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlon">cmd_pxlon</A></B><DD>Executes TI-Basic 'PxlOn' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxltext">cmd_pxltext</A></B><DD>Executes TI-Basic 'PxlText' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_pxlvert">cmd_pxlvert</A></B><DD>Executes TI-Basic 'PxlVert' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_qr_fact">cmd_qr_fact</A></B><DD>Executes TI-Basic 'QR' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_quadreg">cmd_quadreg</A></B><DD>Executes TI-Basic 'QuadReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_quartreg">cmd_quartreg</A></B><DD>Executes TI-Basic 'QuartReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_randseed">cmd_randseed</A></B><DD>Executes TI-Basic 'RandSeed' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_rclgdb">cmd_rclgdb</A></B><DD>Executes TI-Basic 'RclGDB' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_rclpic">cmd_rclpic</A></B><DD>Executes TI-Basic 'RclPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_rename">cmd_rename</A></B><DD>Executes TI-Basic 'Rename' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_request">cmd_request</A></B><DD>Executes TI-Basic 'Request' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_return">cmd_return</A></B><DD>Executes TI-Basic 'Return' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_rplcpic">cmd_rplcpic</A></B><DD>Executes TI-Basic 'RplcPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_send">cmd_send</A></B><DD>Executes TI-Basic 'Send' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_sendcalc">cmd_sendcalc</A></B><DD>Executes TI-Basic 'SendCalc' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_sendchat">cmd_sendchat</A></B><DD>Executes TI-Basic 'SendChat' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_shade">cmd_shade</A></B><DD>Executes TI-Basic 'Shade' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_showstat">cmd_showstat</A></B><DD>Executes TI-Basic 'ShowStat' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_sinreg">cmd_sinreg</A></B><DD>Executes TI-Basic 'SinReg' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_slpline">cmd_slpline</A></B><DD>Executes TI-Basic 'SlpLine' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_sorta">cmd_sorta</A></B><DD>Executes TI-Basic 'SortA' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_sortd">cmd_sortd</A></B><DD>Executes TI-Basic 'SortD' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_stogdb">cmd_stogdb</A></B><DD>Executes TI-Basic 'StoGDB' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_stopic">cmd_stopic</A></B><DD>Executes TI-Basic 'StoPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_style">cmd_style</A></B><DD>Executes TI-Basic 'Style' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_table">cmd_table</A></B><DD>Executes TI-Basic 'Table' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_text">cmd_text</A></B><DD>Executes TI-Basic 'Text' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_toolbar">cmd_toolbar</A></B><DD>Executes TI-Basic 'Toolbar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_trace">cmd_trace</A></B><DD>Executes TI-Basic 'Trace' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_try">cmd_try</A></B><DD>Executes TI-Basic 'Try' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_twovar">cmd_twovar</A></B><DD>Executes TI-Basic 'TwoVar' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_unarchiv">cmd_unarchiv</A></B><DD>Executes TI-Basic 'UnArchiv' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_unlock">cmd_unlock</A></B><DD>Executes TI-Basic 'Unlock' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_while">cmd_while</A></B><DD>Executes TI-Basic 'While' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_xorpic">cmd_xorpic</A></B><DD>Executes TI-Basic 'XorPic' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoombox">cmd_zoombox</A></B><DD>Executes TI-Basic 'ZoomBox' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomdata">cmd_zoomdata</A></B><DD>Executes TI-Basic 'ZoomData' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomdec">cmd_zoomdec</A></B><DD>Executes TI-Basic 'ZoomDec' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomfit">cmd_zoomfit</A></B><DD>Executes TI-Basic 'ZoomFit' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomin">cmd_zoomin</A></B><DD>Executes TI-Basic 'ZoomMin' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomint">cmd_zoomint</A></B><DD>Executes TI-Basic 'ZoomInt' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomout">cmd_zoomout</A></B><DD>Executes TI-Basic 'ZoomOut' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomprev">cmd_zoomprev</A></B><DD>Executes TI-Basic 'ZoomPrev' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomrcl">cmd_zoomrcl</A></B><DD>Executes TI-Basic 'ZoomRcl' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomsqr">cmd_zoomsqr</A></B><DD>Executes TI-Basic 'ZoomSqr' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomstd">cmd_zoomstd</A></B><DD>Executes TI-Basic 'ZoomStd' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomsto">cmd_zoomsto</A></B><DD>Executes TI-Basic 'ZoomSto' command.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#cmd_zoomtrig">cmd_zoomtrig</A></B><DD>Executes TI-Basic 'ZoomTrig' command.</DL>
<H3><U>Global Variables</U></H3>
<DL INDENT="20"><DT><B><A HREF="estack.html#primary_tag_list">primary_tag_list</A></B><DD>Array of structures containing information on <A HREF="estack.html#Tags">Tags</A>.</DL>
<H3><U>Predefined Types</U></H3>
<DL INDENT="20"><DT><B><A HREF="estack.html#CESI">CESI</A></B><DD>Represents a pointer to a constant expression.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#ESI">ESI</A></B><DD>Represents an index of a value on the TIOS expression stack.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#ESQ">ESQ</A></B><DD>Represents a quantum within an expression.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#EStackIndex">EStackIndex</A></B><DD>Represents an index of a value on the TIOS expression stack.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#Quantum">Quantum</A></B><DD>Represents a quantum within an expression.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#SYM_STR">SYM_STR</A></B><DD>Represents a pointer to the terminating zero byte of a string.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="estack.html#tag_info">tag_info</A></B><DD>Structure containing information about AMS EStack tags (<A HREF="estack.html#Tags">Tags</A>, <A HREF="estack.html#ExtTags">ExtTags</A>).</DL>
<P><B>Note:</B> All functions from this header file get parameters from the expression stack, so this
header file must be used in conjunction with <A HREF="estack.html">estack.h</A>. You need to
learn about the usage of the expression stack before using any function from this header file.
All functions defined here execute particular TI-Basic commands. They sometimes
may be useful to perform some operations which cannot be implemented in C easily. But note that
if you use functions from this header file too much, this will decrease the performance of your
program significantly. In an extreme case, it will in fact decrease to that of a TI-Basic program! So
use functions from this header file only if it is really necessary. Also note that these
functions act exactly like the appropriate TI-Basic commands (including throwing errors if
something is wrong), so the use of an error tracking mechanism from the <A HREF="error.html">error.h</A>
header file is highly recommended.</P>
<P>See also: <A HREF="basfunc.html">basfunc.h</A>, <A HREF="basop.html">basop.h</A></P>
<HR>
<H3><A NAME="cmd_andpic"><U>cmd_andpic</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_andpic (<A HREF="estack.html#SYM_STR">SYM_STR</A> SymName, <A HREF="estack.html#CESI">CESI</A> y, <A HREF="estack.html#CESI">CESI</A> x);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'AndPic' command.</B></P>
<P>cmd_andpic displays the Graph Screen and logically ANDs the picture stored in
the TI-Basic variable pointed to by <I>SymName</I> (a VAT variable string,
see <A HREF="vat.html#SYMSTR">SYMSTR</A>) into the current graph screen
at the pixel coordinates determined by the values pointed to by <I>y</I> and
<I>x</I>, respectively. Both <I>x</I> and <I>y</I> should point to integer items.
<I>SymName</I> should be the name of a PIC variable.
<BR><BR>
See <A HREF="graph.html#BitmapPut">BitmapPut</A> for much faster
low-level manipulations with bitmap pictures, independently of the Graph
Screen.</P>
<P>See also: <A HREF="#cmd_rclpic">cmd_rclpic</A>, <A HREF="#cmd_xorpic">cmd_xorpic</A>, <A HREF="#cmd_rplcpic">cmd_rplcpic</A>, <A HREF="#cmd_stopic">cmd_stopic</A>, <A HREF="graph.html#BitmapPut">BitmapPut</A></P>
<HR>
<H3><A NAME="cmd_archive"><U>cmd_archive</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 2.00 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_archive (<A HREF="estack.html#CESI">CESI</A> VarNameList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Archive' command.</B></P>
<P>cmd_archive archives one or more TI-Basic variables (i.e. VAT symbols). For
details about <I>VarNameList</I>, see
<A HREF="#cmd_lock">cmd_lock</A>.</P>
<P>See also: <A HREF="#cmd_unarchiv">cmd_unarchiv</A>, <A HREF="#cmd_lock">cmd_lock</A>, <A HREF="#cmd_unlock">cmd_unlock</A></P>
<HR>
<H3><A NAME="cmd_blddata"><U>cmd_blddata</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_blddata (<A HREF="estack.html#ESI">ESI</A> SymName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'BldData' command.</B></P>
<P>cmd_blddata creates a TI-Basic data variable based on the information used to
plot the current graph. It is valid in all graphing modes. See the TI-Basic
BldData command in the TI-Basic manual for more details.
<BR><BR>
<I>SymName</I> should point to the variable tag of the wanted data variable
name, which may be a string of type
<A HREF="estack.html#SYM_STR">SYM_STR</A>. However, it must be on the
expression stack, so you cannot pass a result of the
<A HREF="vat.html#SYMSTR">SYMSTR</A> macro to cmd_blddata. Instead, if
you want to create the data variable named "foo", for example, you should do:</P>
<PRE>push_expression (SYMSTR ("foo"));
cmd_blddata (top_estack);
</PRE>
<P>Alternatively, <I>SymName</I> may point to
<A HREF="estack.html#END_TAG">END_TAG</A>. In this case, the system
variable "sysData" is used.</P>
<HR>
<H3><A NAME="cmd_circle"><U>cmd_circle</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_circle (<A HREF="estack.html#CESI">CESI</A> x, <A HREF="estack.html#CESI">CESI</A> y, <A HREF="estack.html#CESI">CESI</A> radius, <A HREF="estack.html#CESI">CESI</A> drawmode);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Circle' command.</B></P>
<P>cmd_circle displays the Graph Screen and draws, erases, or inverts a circle on it.
The parameters <I>x</I>, <I>y</I>, <I>radius</I>, and <I>drawmode</I> should point
to four items on the expression stack, which represent
respectively the coordinates of the center of the circle, the radius, and the
drawing mode. All coordinates and the radius are integer or floating point values
which are relative to the current
window settings (you can change them using the
"Window Editor" application, or directly by storing values in system
variables like "xmin", using the <A HREF="vat.html#VarStore">VarStore</A> function).
<I>drawmode</I> should point to one of the following values:
<BR><BR>
<TABLE BORDER CELLPADDING="3">
<TR><TD VALIGN="TOP">1</TD><TD>Draws the circle.</TD></TR>
<TR><TD VALIGN="TOP">0</TD><TD>Erases the circle.</TD></TR>
<TR><TD VALIGN="TOP">-1</TD><TD>Inverts pixels along the circle.</TD></TR>
</TABLE>
<BR>
See also <A HREF="#cmd_pxlcircle">cmd_pxlcircle</A>, which uses pixel coordinates instead of window-relative
ones, and <A HREF="graph.html#DrawClipEllipse">DrawClipEllipse</A> for much faster low-level circle/ellipse drawing
(independently of the Graph Screen).</P>
<P>See also: <A HREF="#cmd_pxlcircle">cmd_pxlcircle</A>, <A HREF="graph.html#DrawClipEllipse">DrawClipEllipse</A></P>
<HR>
<H3><A NAME="cmd_clrdraw"><U>cmd_clrdraw</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrdraw (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrDraw' command.</B></P>
<P>cmd_clrdraw clears the Graph Screen window and resets the Smart Graph feature, so that the
next time the Graph Screen is displayed, the graph will be redrawn.</P>
<HR>
<H3><A NAME="cmd_clrerr"><U>cmd_clrerr</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrerr (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrErr' command.</B></P>
<P>cmd_clrerr sets the TI-Basic system variable "errornum" to zero and clears the internal
error context variables.
<BR><BR>
<B>Note:</B> See <A HREF="error.html#TRY">TRY</A>,
<A HREF="error.html#ONERR">ONERR</A>, and
<A HREF="error.html#ENDTRY">ENDTRY</A> to learn how to take control over
errors while executing a C program.</P>
<P>See also: <A HREF="#cmd_try">cmd_try</A>, <A HREF="#cmd_passerr">cmd_passerr</A></P>
<HR>
<H3><A NAME="cmd_clrgraph"><U>cmd_clrgraph</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrgraph (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrGraph' command.</B></P>
<P>cmd_clrgraph clears all functions or expressions that were graphed with the
TI-Basic Graph command (or <A HREF="#cmd_graph">cmd_graph</A> from
this header file), or were created with the TI-Basic Table command (or
<A HREF="#cmd_table">cmd_table</A> from this header file).
All previously selected functions in the Y= Editor application will be
graphed the next time that the graph is displayed.</P>
<P>See also: <A HREF="#cmd_graph">cmd_graph</A>, <A HREF="#cmd_table">cmd_table</A></P>
<HR>
<H3><A NAME="cmd_clrhome"><U>cmd_clrhome</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrhome (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrHome' command.</B></P>
<P>cmd_clrhome clears all items stored in the Home Screen history area and clears the Home Screen
window. It also resets the suffixes of arbitrary constants or integers (like
<B>@1</B>, <B>@n2</B>, etc.) to 1.</P>
<P>See also: <A HREF="homescr.html#HS_freeAll">HS_freeAll</A>, <A HREF="estack.html#ARb_real_count">ARb_real_count</A>, <A HREF="estack.html#ARb_int_count">ARb_int_count</A></P>
<HR>
<H3><A NAME="cmd_clrio"><U>cmd_clrio</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrio (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrIO' command.</B></P>
<P>cmd_clrio clears the TI-Basic Program I/O Screen window (without displaying it to the screen),
and sets the Program I/O Screen window cursor position to the upper left corner.</P>
<HR>
<H3><A NAME="cmd_clrtable"><U>cmd_clrtable</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_clrtable (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ClrTable' command.</B></P>
<P>cmd_clrtable clears all table values. This applies only to the ASK setting on the Table Setup
dialog box. See the TI-Basic manual for more info.</P>
<HR>
<H3><A NAME="cmd_copyvar"><U>cmd_copyvar</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_copyvar (<A HREF="estack.html#SYM_STR">SYM_STR</A> SrcName, <A HREF="estack.html#SYM_STR">SYM_STR</A> DestName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'CopyVar' command.</B></P>
<P>cmd_copyvar copies the contents of one TI-Basic variable to another one. The parameters
<I>SrcName</I> and <I>DestName</I> should point to the variable tags of the source and the
destination variable, respectively. If the destination variable does not
exist, cmd_copyvar creates it. This function may be used instead of low-level
routines from <A HREF="vat.html">vat.h</A>.</P>
<P>See also: <A HREF="#cmd_movevar">cmd_movevar</A>, <A HREF="#cmd_rename">cmd_rename</A></P>
<HR>
<H3><A NAME="cmd_cubicreg"><U>cmd_cubicreg</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_cubicreg (<A HREF="estack.html#ESI">ESI</A> RegData);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'CubicReg' command.</B></P>
<P>cmd_cubicreg calculates a cubic polynomial regression and updates all statistics
variables (see TI-Basic manual for more info). The <I>RegData</I> parameter must point to
a structure on the expression stack which describes where the actual data is
stored. See <A HREF="#cmd_linreg">cmd_linreg</A> for more info.</P>
<P>See also: <A HREF="#cmd_linreg">cmd_linreg</A>, <A HREF="#cmd_quadreg">cmd_quadreg</A>, <A HREF="#cmd_quartreg">cmd_quartreg</A>, <A HREF="#cmd_powerreg">cmd_powerreg</A>, <A HREF="#cmd_expreg">cmd_expreg</A>, <A HREF="#cmd_lnreg">cmd_lnreg</A>, <A HREF="#cmd_sinreg">cmd_sinreg</A>, <A HREF="#cmd_onevar">cmd_onevar</A>, <A HREF="#cmd_twovar">cmd_twovar</A>, <A HREF="#cmd_medmed">cmd_medmed</A>, <A HREF="#cmd_logistic">cmd_logistic</A></P>
<HR>
<H3><A NAME="cmd_custmoff"><U>cmd_custmoff</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_custmoff (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'CustmOff' command.</B></P>
<P>cmd_custmoff removes the custom toolbar menu in the current application.
The custom toolbar is removed automatically when you change the application.</P>
<HR>
<H3><A NAME="cmd_custmon"><U>cmd_custmon</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_custmon (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'CustmOn' command.</B></P>
<P>cmd_custmon activates a custom toolbar menu in the current application.</P>
<P>See also: <A HREF="#cmd_toolbar">cmd_toolbar</A>, <A HREF="menus.html">menus.h</A></P>
<HR>
<H3><A NAME="cmd_custom"><U>cmd_custom</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_custom (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Custom' command.</B></P>
<P>cmd_custom is an internal subroutine used by the TI-Basic interpreter for defining
custom menus using 'Custom'...'EndCustm' blocks.
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> Look at the functions from <A HREF="menus.html">menus.h</A> if you want to make menus inside a
C program.</P>
<P>See also: <A HREF="#cmd_toolbar">cmd_toolbar</A>, <A HREF="menus.html">menus.h</A></P>
<HR>
<H3><A NAME="cmd_cycle"><U>cmd_cycle</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_cycle (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Cycle' command.</B></P>
<P>cmd_cycle is an internal subroutine used by the TI-Basic interpreter for
executing the Cycle command (performs searching for a matching For/EndFor
instruction, etc.).
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> If you want to achieve a similar effect in the C language like
using the Cycle command in TI-Basic, you should use the
<CODE><A HREF="keywords.html#continue">continue</A></CODE> keyword.</P>
<HR>
<H3><A NAME="cmd_cyclepic"><U>cmd_cyclepic</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_cyclepic (<A HREF="estack.html#CESI">CESI</A> PicNamePrefix, <A HREF="estack.html#CESI">CESI</A> n, <A HREF="estack.html#CESI">CESI</A> wait, <A HREF="estack.html#CESI">CESI</A> cycles, <A HREF="estack.html#CESI">CESI</A> direction);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'CyclePic' command.</B></P>
<P>cmd_cyclepic implements the TI-Basic CyclePic command, which displays the
Graph Screen and then displays a series of pictures (a slide show) on it in a
cycle. The <I>PicNamePrefix</I> parameter should point to a string item on
the expression stack (more precise, to its <A HREF="estack.html#STR_TAG">STR_TAG</A>),
and <I>n</I> should point to an integer item which determines the total
number of pictures.
<BR><BR>
The names of the TI-Basic PIC variables which contain the
picture data will be derived from <I>PicNamePrefix</I> and <I>n</I>. For
example, if <I>PicNamePrefix</I> points to "pic" and <I>n</I> points to 5,
the picture data will be picked from TI-Basic PIC variables
called "pic1", "pic2", "pic3", "pic4" and "pic5".
<BR><BR>
The <I>wait</I> parameter should point to an integer or floating point item which
determines the time between pictures. <I>cycles</I> should point to an
integer item which determines the number of times to cycle through the
pictures. <I>direction</I> should point to an integer item containing 1 or -1.
If it is 1, the pictures will be displayed in a normal loop, and if it is -1,
the loop will run in both directions.
<BR><BR>
<B>Note:</B> The TI-Basic command CyclePic is implemented to allow making
simple animations in the TI-Basic. Although this function principally may be
used in C to accomplish the same task, the usage of it is tedious and there
are much better ways for doing this in C which are also independent of the
Graph Screen. Take a look at the functions from
<A HREF="graph.html">graph.h</A>,
<A HREF="wingraph.html">wingraph.h</A>, and
<A HREF="sprites.html">sprites.h</A>.</P>
<HR>
<H3><A NAME="cmd_delfold"><U>cmd_delfold</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_delfold (<A HREF="estack.html#CESI">CESI</A> FolderNameList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DelFold' command.</B></P>
<P>cmd_delfold deletes one or more empty folders. It expects the following
layout on the expression stack:
<BR><BR>
<A HREF="estack.html#END_TAG">END_TAG</A> <I>symname_n</I> ... <I>symname_2</I> <I>symname_1</I>
<BR><BR>
<I>symname_1</I>, <I>symname_2</I>, etc. are VAT symbol names
(see <A HREF="vat.html#SYMSTR">SYMSTR</A> and
<A HREF="estack.html#Tags">Tags</A> for more info) of folders which
are supposed to be deleted. The <I>FolderNameList</I> parameter should point
to the tag of the last item. This function may be used as a high-level
alternative for the low-level function
<A HREF="vat.html#FolderDel">FolderDel</A> from the
<A HREF="vat.html">vat.h</A> header file.</P>
<P>See also: <A HREF="#cmd_newfold">cmd_newfold</A>, <A HREF="vat.html#FolderDel">FolderDel</A></P>
<HR>
<H3><A NAME="cmd_delvar"><U>cmd_delvar</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_delvar (<A HREF="estack.html#CESI">CESI</A> VarNameList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DelVar' command.</B></P>
<P>This function deletes one or more TI-Basic variables. It expects the
following layout on the expression stack:
<BR><BR>
<A HREF="estack.html#END_TAG">END_TAG</A> <I>symname_n</I> ... <I>symname_2</I> <I>symname_1</I>
<BR><BR>
<I>symname_1</I>, <I>symname_2</I>, etc. are VAT symbol names
(see <A HREF="vat.html#SYMSTR">SYMSTR</A> and
<A HREF="estack.html#Tags">Tags</A> for more info) of variables which
are supposed to be deleted. The <I>VarNameList</I> parameter should point to
the tag of the last item. This function may be used as a high-level
alternative for the low-level function
<A HREF="vat.html#SymDel">SymDel</A> from the
<A HREF="vat.html">vat.h</A> header file.</P>
<P>See also: <A HREF="vat.html#SymDel">SymDel</A></P>
<HR>
<H3><A NAME="cmd_dialog"><U>cmd_dialog</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_dialog (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Dialog' command.</B></P>
<P>cmd_dialog is an internal subroutine used by the TI-Basic interpreter for defining
dialogs using 'Dialog'...'EndDlog' blocks.
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> See functions from the <A HREF="dialogs.html">dialogs.h</A>
header file if you want to make dialogs inside a C program.</P>
<P>See also: <A HREF="#cmd_text">cmd_text</A>, <A HREF="#cmd_request">cmd_request</A>, <A HREF="dialogs.html">dialogs.h</A></P>
<HR>
<H3><A NAME="cmd_disp"><U>cmd_disp</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_disp (<A HREF="estack.html#CESI">CESI</A> ExprList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Disp' command.</B></P>
<P>cmd_disp first displays the current contents of the TI-Basic Program I/O Screen window. If
<I>ExprList</I> points to <A HREF="estack.html#END_TAG">END_TAG</A>, cmd_disp does nothing more.
Else, the expression (or string, if <I>ExprList</I> points to
<A HREF="estack.html#STR_TAG">STR_TAG</A>) pointed to by <I>ExprList</I> is displayed on
the TI-Basic Program I/O Screen window. This task is repeated for all expressions on the
expression stack below <I>ExprList</I>, until <A HREF="estack.html#END_TAG">END_TAG</A>
is reached. Each expression (or character string) is displayed on a separate line in the
TI-Basic Program I/O Screen window. If "Pretty Print" in the current mode settings
is turned on, expressions are displayed in mathematical notation.</P>
<HR>
<H3><A NAME="cmd_dispg"><U>cmd_dispg</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_dispg (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DispG' command.</B></P>
<P>cmd_dispg displays the current contents of the Graph Screen window by switching to
the "Graph" application (see the <A HREF="events.html">events.h</A> header file for more information
about switching applications).</P>
<HR>
<H3><A NAME="cmd_disphome"><U>cmd_disphome</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_disphome (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DispHome' command.</B></P>
<P>cmd_disphome displays the current content of the Home Screen window.
More precise, it starts the Home application if it is not already running, and makes sure the
Home Screen window is being displayed switching from the Program I/O window if necessary.
The OS will deactivate or terminate the current application to activate the
Home Screen.
<BR><BR>
<B>Note:</B> If you used any function from this header file which displays various windows which
are different than Home Screen window (for example, TI-Basic Program I/O Screen window), use
cmd_disphome before returning from your program to activate the Home Screen again!</P>
<HR>
<H3><A NAME="cmd_disptbl"><U>cmd_disptbl</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_disptbl (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DispTbl' command.</B></P>
<P>cmd_disptbl displays the current contents of the Table Screen window by switching
to the "Table" application (see the <A HREF="events.html">events.h</A> header file for more information
about switching applications). It interrupts the execution of
the program and accepts all keypress events of the "Table" application, until the 'ENTER' key is
pressed.</P>
<HR>
<H3><A NAME="cmd_drawfunc"><U>cmd_drawfunc</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_drawfunc (<A HREF="estack.html#CESI">CESI</A> expr);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DrawFunc' command.</B></P>
<P>cmd_drawfunc displays the Graph Screen and draws the expression pointed to by
<I>expr</I> on the screen as a function, using "x" as the independent
variable. For example, to draw the graph of the sine function, you can do:</P>
<PRE>push_parse_text ("sin(x)");
cmd_drawfunc (top_estack);
</PRE>
<P>Note that the drawn graph is not part of the smart graph feature (see the
TI-Basic manual for more info), and that regraphing will erase all drawn
items.</P>
<P>See also: <A HREF="#cmd_graph">cmd_graph</A>, <A HREF="#cmd_drawinv">cmd_drawinv</A>, <A HREF="#cmd_drawparm">cmd_drawparm</A>, <A HREF="#cmd_drawpol">cmd_drawpol</A></P>
<HR>
<H3><A NAME="cmd_drawinv"><U>cmd_drawinv</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_drawinv (<A HREF="estack.html#CESI">CESI</A> expr);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DrawInv' command.</B></P>
<P>cmd_drawinv displays the Graph Screen and draws the inverse of the expression pointed to
by <I>expr</I> on the screen by plotting x values on the y axis and y values
on the x axis. "x" is used as the independent variable.</P>
<P>See also: <A HREF="#cmd_drawfunc">cmd_drawfunc</A></P>
<HR>
<H3><A NAME="cmd_drawparm"><U>cmd_drawparm</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_drawparm (<A HREF="estack.html#CESI">CESI</A> ExprList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DrawParm' command.</B></P>
<P>cmd_drawparm displays the Graph Screen and draws a parametric graph, using
"t" as the independent variable. This function expects one of the following
eight layouts on the expression stack:
<BR><BR>
<TABLE BORDER CELLPADDING="2">
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tstep tmax tmin y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tmax tmin y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tstep <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> tmin y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tstep tmax <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tmin y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tmax <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> tstep <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> y_expr x_expr</TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> y_expr x_expr</TD></TR>
</TABLE>
<BR>
The parameter <I>ExprList</I> should point to the tag of the last item.
<I>x_expr</I> and <I>y_expr</I> are the expressions for "x(t)" and "y(t)",
which define the curve. <I>tmin</I>, <I>tmax</I> and <I>tstep</I> are
floating point items which determine the starting value, the ending
value, and the increment of the independent variable "t" which will be used
for drawing. For example, to draw the curve defined by <CODE>x=cos(t)</CODE>
and <CODE>y=sin(t)</CODE> where t varies from 0 to 2*pi in steps of 0.1, you
can use the following code fragment:</P>
<PRE>push_Float (0.1);
push_Float (2. * PI);
push_Float (0);
push_parse_text ("cos(t)");
push_parse_text ("sin(t)");
cmd_drawparm (top_estack);
</PRE>
<P>If the current graphing mode is not parametric, only the first layout is
valid. Otherwise, the omitted expressions will be picked from the current
settings of the "tmin", "tmax", and "tstep" system variables, which can be
set using the "Window Editor" application.</P>
<P>See also: <A HREF="#cmd_drawpol">cmd_drawpol</A>, <A HREF="#cmd_drawfunc">cmd_drawfunc</A></P>
<HR>
<H3><A NAME="cmd_drawpol"><U>cmd_drawpol</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_drawpol (<A HREF="estack.html#CESI">CESI</A> ExprList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'DrawPol' command.</B></P>
<P>cmd_drawpol displays the Graph Screen and draws a polar graph, using
the Greek letter "theta" as the independent variable. This function expects
one of the following eight layouts on the expression stack:
<BR><BR>
<TABLE BORDER CELLPADDING="2">
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thstep</I> <I>thmax</I> <I>thmin</I> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thmax</I> <I>thmin</I> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thstep</I> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <I>thmin</I> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thstep</I> <I>thmax</I> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thmin</I> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thmax</I> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>thstep</I> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <A HREF="estack.html#NOTHING_TAG">NOTHING_TAG</A> <I>expr</I></TD></TR>
<TR><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>expr</I></TD></TR>
</TABLE>
<BR>
The parameter <I>ExprList</I> should point to the tag of the last item.
<I>expr</I> is the expression which defines the polar graph. <I>thmin</I>,
<I>thmax</I> and <I>thstep</I> are floating point items which determine
the starting value, the ending value, and the increment of the independent
variable "theta" which will be used for drawing.
<BR><BR>
If the current graphing mode is not polar, only the first layout is valid.
Otherwise, the omitted expressions will be picked from the current settings
of the "thetamin", "thetamax"
and "thetastep" system variables in the
"Window Editor" application (note that "theta" means a Greek letter theta, not
an actual string "theta").</P>
<P>See also: <A HREF="#cmd_drawparm">cmd_drawparm</A>, <A HREF="#cmd_drawfunc">cmd_drawfunc</A></P>
<HR>
<H3><A NAME="cmd_else"><U>cmd_else</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_else (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Else' command.</B></P>
<P>This is an internal subroutine used by TI-Basic interpreter for finding the
matching EndIf instruction when the Else instruction is encountered.
As this function depends heavily on some system state variables of the TI-Basic
intepreter which are not set correctly while executing an ASM program, it
is extremely unlikely that this function may be used inside a C program for
anything useful.
<BR><BR>
<B>Note:</B> See the <CODE><A HREF="keywords.html#if">if</A></CODE> and
<CODE><A HREF="keywords.html#if">else</A></CODE> keywords to learn how to
implement conditional execution in the C language.</P>
<P>See also: <A HREF="#cmd_ifthen">cmd_ifthen</A></P>
<HR>
<H3><A NAME="cmd_endfor"><U>cmd_endfor</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_endfor (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'EndFor' command.</B></P>
<P>cmd_endfor is an internal subroutine used by the TI-Basic interpreter for
terminating the 'For'...'EndFor' loop (searches for a matching 'For' instruction
and transfers the control there if necessary).
As this function depends heavily on some system state variables of the TI-Basic
intepreter which are not set correctly while executing an ASM program, it
is extremely unlikely that this function may be used inside a C program for
anything useful.
<BR><BR>
<B>Note:</B> See the <CODE><A HREF="keywords.html#for">for</A></CODE>
keyword to learn how to use loops in C language which are similar to
For...EndFor loops in TI-Basic.</P>
<P>See also: <A HREF="#cmd_for">cmd_for</A></P>
<HR>
<H3><A NAME="cmd_endloop"><U>cmd_endloop</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_endloop (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'EndLoop' command.</B></P>
<P>This is an internal subroutine used by the TI-Basic interpreter for
terminating the 'Loop'...'EndLoop' loop (searches for a matching 'Loop' instruction
and transfers the control there).
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> See the
<CODE><A HREF="keywords.html#while">while</A></CODE> keyword to learn
how to use loops in the C language which are similar to Loop...EndLoop loops
in TI-Basic.</P>
<P>See also: <A HREF="#cmd_while">cmd_while</A></P>
<HR>
<H3><A NAME="cmd_endtry"><U>cmd_endtry</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_endtry (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'EndTry' command.</B></P>
<P>cmd_endtry is an internal subroutine used by the TI-Basic interpreter for
terminating an error-protected block ('Try'...'EndTry'). Principally, this
function performs <A HREF="#cmd_clrerr">cmd_clrerr</A> and signals
that further TI-Basic instructions are not error-protected anymore. It is
extremely unlikely that this function may be used inside a C program for
anything useful.
<BR><BR>
<B>Note:</B> See <A HREF="error.html#TRY">TRY</A>,
<A HREF="error.html#ONERR">ONERR</A>, and
<A HREF="error.html#ENDTRY">ENDTRY</A> to learn how to take control over
errors while executing a C program.</P>
<P>See also: <A HREF="#cmd_try">cmd_try</A></P>
<HR>
<H3><A NAME="cmd_endwhile"><U>cmd_endwhile</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_endwhile (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'EndWhile' command.</B></P>
<P>cmd_endwhile is an internal subroutine used by TI-Basic interpreter for
terminating the 'While'...'EndWhile' loop (searches for a matching 'While'
instruction and transfers the control there).
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> See the
<CODE><A HREF="keywords.html#while">while</A></CODE> keyword to learn
how to use loops in the C language which are similar to While...EndWhile loops
in TI-Basic.</P>
<P>See also: <A HREF="#cmd_while">cmd_while</A></P>
<HR>
<H3><A NAME="cmd_exit"><U>cmd_exit</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_exit (<B><A HREF="keywords.html#void">void</A></B>);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Exit' command.</B></P>
<P>cmd_exit is an internal subroutine used by the TI-Basic interpreter for executing the
Exit command (performs searching for a matching EndFor instruction, etc.).
As this function depends heavily on some system state variables of the TI-Basic
intepreter which are not set correctly while executing an ASM program, it
is extremely unlikely that this function may be used inside a C program for
anything useful.
<BR><BR>
<B>Note:</B> If you want to achieve the similar effect in the C language like using the Exit
command in TI-Basic, you should use the <CODE><A HREF="keywords.html#break">break</A></CODE> keyword.</P>
<HR>
<H3><A NAME="cmd_expreg"><U>cmd_expreg</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_expreg (<A HREF="estack.html#ESI">ESI</A> RegData);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'ExpReg' command.</B></P>
<P>cmd_expreg calculates an exponential regression and updates all statistics
variables (see TI-Basic manual for more info). The <I>RegData</I> parameter
must point to a structure on the expression stack which describes where the
actual data is stored. See <A HREF="#cmd_linreg">cmd_linreg</A> for
more info.</P>
<P>See also: <A HREF="#cmd_linreg">cmd_linreg</A>, <A HREF="#cmd_quadreg">cmd_quadreg</A>, <A HREF="#cmd_cubicreg">cmd_cubicreg</A>, <A HREF="#cmd_quartreg">cmd_quartreg</A>, <A HREF="#cmd_powerreg">cmd_powerreg</A>, <A HREF="#cmd_lnreg">cmd_lnreg</A>, <A HREF="#cmd_sinreg">cmd_sinreg</A>, <A HREF="#cmd_onevar">cmd_onevar</A>, <A HREF="#cmd_twovar">cmd_twovar</A>, <A HREF="#cmd_medmed">cmd_medmed</A>, <A HREF="#cmd_logistic">cmd_logistic</A></P>
<HR>
<H3><A NAME="cmd_fill"><U>cmd_fill</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_fill (<A HREF="estack.html#CESI">CESI</A> expr, <A HREF="estack.html#SYM_STR">SYM_STR</A> SymName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Fill' command.</B></P>
<P>cmd_fill replaces each element in the TI-Basic matrix variable whose name is
pointed to by <I>SymName</I> (see <A HREF="vat.html#SYMSTR">SYMSTR</A>)
with the expression pointed to by <I>expr</I>. The variable must already
exist, else an error is thrown.</P>
<P>See also: <A HREF="vat.html#VarStore">VarStore</A></P>
<HR>
<H3><A NAME="cmd_fnoff"><U>cmd_fnoff</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_fnoff (<A HREF="estack.html#CESI">CESI</A> IntList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'FnOff' command.</B></P>
<P>If <I>IntList</I> points to <A HREF="estack.html#END_TAG">END_TAG</A>, cmd_fnoff deselects
all 'Y=' functions for the current graphing mode (note that in split-screen two-graph mode,
cmd_fnoff only applies to the active graph). If <I>IntList</I> points to an
integer item in the range from 1 to 99, cmd_fnoff deselects the specified
'Y=' function for the current graph mode, and repeats this task for all expressions on the
expression stack below <I>IntList</I>, until <A HREF="estack.html#END_TAG">END_TAG</A>
is reached.</P>
<P>See also: <A HREF="#cmd_fnon">cmd_fnon</A></P>
<HR>
<H3><A NAME="cmd_fnon"><U>cmd_fnon</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_fnon (<A HREF="estack.html#CESI">CESI</A> IntList);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'FnOn' command.</B></P>
<P>If <I>IntList</I> points to <A HREF="estack.html#END_TAG">END_TAG</A>, cmd_fnon selects
all 'Y=' functions that are defined for the current graphing mode (note that in split-screen two-graph mode,
cmd_fnon only applies to the active graph). If <I>IntList</I> points to an integer item
in the range from 1 to 99, cmd_fnon selects the specified
'Y=' function for the current graph mode, and repeats this task for all expressions on the
expression stack below <I>IntList</I>, until <A HREF="estack.html#END_TAG">END_TAG</A>
is reached. In 3D graphing mode, only one function at a time can be selected.</P>
<P>See also: <A HREF="#cmd_fnoff">cmd_fnoff</A></P>
<HR>
<H3><A NAME="cmd_for"><U>cmd_for</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_for (<A HREF="estack.html#SYM_STR">SYM_STR</A> VarName, <A HREF="estack.html#CESI">CESI</A> start, <A HREF="estack.html#CESI">CESI</A> end, <A HREF="estack.html#CESI">CESI</A> step);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'For' command.</B></P>
<P>This is an internal subroutine used by TI-Basic interpreter for initializing
a counter variable used in a 'For'...'EndFor' loop.
As this function depends heavily on some system state variables of the TI-Basic
intepreter which are not set correctly while executing an ASM program, it
is extremely unlikely that this function may be used inside a C program for
anything useful.
<BR><BR>
<B>Note:</B> See the <CODE><A HREF="keywords.html#for">for</A></CODE>
keyword to learn how to use loops in C language which are similar to
For...EndFor loops in TI-Basic.</P>
<P>See also: <A HREF="#cmd_endfor">cmd_endfor</A></P>
<HR>
<H3><A NAME="cmd_get"><U>cmd_get</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_get (<A HREF="estack.html#SYM_STR">SYM_STR</A> SymName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Get' command.</B></P>
<P>cmd_get receives a CBL (Calculator-Based Laboratory) value from the link port and stores it
in a variable whose name is pointed to by <I>SymName</I> (a VAT variable name, see <A HREF="vat.html#SYMSTR">SYMSTR</A>).</P>
<P>See also: <A HREF="#cmd_send">cmd_send</A>, <A HREF="#cmd_getcalc">cmd_getcalc</A></P>
<HR>
<H3><A NAME="cmd_getcalc"><U>cmd_getcalc</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_getcalc (<A HREF="estack.html#SYM_STR">SYM_STR</A> SymName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'GetCalc' command.</B></P>
<P>cmd_getcalc receives a variable (or program) whose name is pointed to by <I>SymName</I>
(a VAT variable name, see <A HREF="vat.html#SYMSTR">SYMSTR</A>) from the link interface.
This function does nothing more than to call the function <A HREF="link.html#getcalc">getcalc</A>
from the <A HREF="link.html">link.h</A> header file.</P>
<P>See also: <A HREF="#cmd_sendcalc">cmd_sendcalc</A>, <A HREF="#cmd_sendchat">cmd_sendchat</A>, <A HREF="#cmd_get">cmd_get</A>, <A HREF="link.html#getcalc">getcalc</A></P>
<HR>
<H3><A NAME="cmd_goto"><U>cmd_goto</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_goto (<A HREF="estack.html#SYM_STR">SYM_STR</A> LabelName);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Goto' command.</B></P>
<P>cmd_goto is the main subroutine for executing the TI-Basic Goto statement. It
searches the current TI-Basic program for the label whose name is pointed to
by <I>LabelName</I> (see <A HREF="vat.html#SYMSTR">SYMSTR</A>. cmd_goto
throws an error if it is not found, otherwise it tells the TI-Basic
interpreter where it is found (by storing its address in an internal
variable). It is not likely that this function may be useful inside a C
program for anything.</P>
<HR>
<H3><A NAME="cmd_graph"><U>cmd_graph</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_graph (<A HREF="estack.html#CESI">CESI</A> ExprEtc);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Graph' command.</B></P>
<P>cmd_graph graphs the requested expressions or functions using the current graph mode.
This function uses the Smart Graph feature (see the TI-Basic manual). It expects the
following layout of the expression stack before calling (<I>ExprEtc</I> should
point to the last item):
<BR><BR>
<TABLE BORDER CELLPADDING="4">
<TR><TD>Graph mode</TD><TD>Requested layout on the expression stack</TD></TR>
<TR><TD VALIGN="TOP">Function graphing</TD><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>var_name</I> <I>expression</I></TD></TR>
<TR><TD VALIGN="TOP">Parametric graphing</TD><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>var_name</I> <I>y_expression</I> <I>x_expression</I></TD></TR>
<TR><TD VALIGN="TOP">Polar graphing</TD><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>var_name</I> <I>expression</I></TD></TR>
<TR><TD VALIGN="TOP">3D graphing</TD><TD><A HREF="estack.html#END_TAG">END_TAG</A> <I>y_var_name</I> <I>x_var_name</I> <I>expression</I></TD></TR>
</TABLE>
<BR>
Graphing sequences and differential equations is not possible using this command. Variable
names are optional, i.e. they may be omitted. In such cases, default variable names are used ("x" for function
graphing, "t" for parametric graphing, "<FONT FACE="Symbol">q</FONT>" for polar graphing, and "x" and "y" for 3D
graphing). For example, to graph the expression <CODE>sin(t)+sin(2t)</CODE> with respect to t (assuming
that the current graph mode is set accordingly), you should do (example "Graph Function"):</P>
<PRE>// Graph a given function using the current graph settings
#define USE_TI89 // Compile for TI-89
#define USE_TI92PLUS // Compile for TI-92 Plus
#define USE_V200 // Compile for V200
#define MIN_AMS 101 // Compile for AMS 1.01 or higher
#define SAVE_SCREEN // Save/Restore LCD Contents
#include <tigcclib.h> // Include All Header Files
// Main Function
void _main(void)
{
TRY
push_quantum (VAR_T_TAG);
push_parse_text ("sin(t)+sin(2t)");
cmd_graph (top_estack);
ngetchx ();
cmd_disphome ();
ONERR
ENDTRY
}
</PRE>
<P>Or, you can avoid <A HREF="estack.html#push_parse_text">push_parse_text</A> by
transforming the expression into RPN manually (which is very easy):
</P>
<PRE>static ESQ rpn[] = {END_TAG, VAR_T_TAG, VAR_T_TAG, SIN_TAG,
VAR_T_TAG, 2, 1, POSINT_TAG, MUL_TAG, SIN_TAG, ADD_TAG};
cmd_graph (rpn + sizeof(rpn) - 1);
</PRE>
<P>All expressions entered using cmd_graph or <A HREF="#cmd_table">cmd_table</A> are
remembered and assigned increasing function
numbers starting with 1. The currently selected 'Y=' functions are deselected. Use
<A HREF="#cmd_clrgraph">cmd_clrgraph</A> to clear the functions graphed with this
command (they will also be cleared after you go to the Y= Editor application to re-enable
the system 'Y=' functions).</P>
<P>See also: <A HREF="#cmd_table">cmd_table</A>, <A HREF="#cmd_drawfunc">cmd_drawfunc</A>, <A HREF="#cmd_clrgraph">cmd_clrgraph</A></P>
<HR>
<H3><A NAME="cmd_if"><U>cmd_if</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_if (<A HREF="estack.html#CESI">CESI</A> condition);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'If' command.</B></P>
<P>This is an internal subroutine used by TI-Basic interpreter for executing
simple If instructions (skips the next expression or tokenized TI-Basic
statement if the condition is not true).
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> See the <CODE><A HREF="keywords.html#if">if</A></CODE> and
<CODE><A HREF="keywords.html#if">else</A></CODE> keywords to learn how to
implement conditional execution in the C language.</P>
<P>See also: <A HREF="#cmd_ifthen">cmd_ifthen</A></P>
<HR>
<H3><A NAME="cmd_ifthen"><U>cmd_ifthen</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_ifthen (<A HREF="estack.html#CESI">CESI</A> condition);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'If'...'Then' command.</B></P>
<P>cmd_ifthen is an internal subroutine used by TI-Basic interpreter for
executing 'If'...'EndIf' and 'If'...'Else'...'EndIf' blocks (searches for a matching
'Else', 'ElseIf' or 'EndIf' instruction and transfers the control there if the
condition is not true).
As this function depends heavily on some system state variables of the
TI-Basic intepreter which are not set correctly while executing an ASM
program, it is extremely unlikely that this function may be used inside a C
program for anything useful.
<BR><BR>
<B>Note:</B> See the <CODE><A HREF="keywords.html#if">if</A></CODE> and
<CODE><A HREF="keywords.html#if">else</A></CODE> keywords to learn how to
implement conditional execution in the C language.</P>
<P>See also: <A HREF="#cmd_else">cmd_else</A>, <A HREF="#cmd_if">cmd_if</A></P>
<HR>
<H3><A NAME="cmd_input"><U>cmd_input</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_input (<A HREF="estack.html#CESI">CESI</A> PromptAndVar);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Input' command.</B></P>
<P>If <I>PromptAndVar</I> points to <A HREF="estack.html#END_TAG">END_TAG</A>, cmd_input pauses
the program, performs <A HREF="#cmd_dispg">cmd_dispg</A>, and lets the user update the system
coordinates "xc" and "yc" (as well as "rc" and "theta_c" for polar coordinate mode) by positioning the
graph cursor.
<BR><BR>
If <I>PromptAndVar</I> points to a string item or to a variable tag, cmd_input works exactly
like <A HREF="#cmd_inputstr">cmd_inputstr</A>, but it treats the user response as an expression
instead of a string (<A HREF="#cmd_inputstr">cmd_inputstr</A> always stores the response as
a string).</P>
<HR>
<H3><A NAME="cmd_inputstr"><U>cmd_inputstr</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_inputstr (<A HREF="estack.html#ESI">ESI</A> PromptAndVar);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'InputStr' command.</B></P>
<P>If <I>PromptAndVar</I> points to a string item (more precise,
to its <A HREF="estack.html#STR_TAG">STR_TAG</A>), cmd_inputstr first displays the current
contents of the TI-Basic Program I/O Screen window, pauses the program, displays the
prompt string pointed to by <I>PromptAndVar</I> on the Program I/O Screen, waits for the
user to enter a response, and stores the response in a TI-Basic variable whose name is
given on the expression stack just below the expression pointed to by <I>PromptAndVar</I>.
This is illustated in the following example, which stores the user's name in a TI-Basic variable
named "x":</P>
<PRE>push_quantum (VAR_X_TAG);
push_zstr ("Enter your name:");
cmd_inputstr (top_estack);
</PRE>
<P>If <I>PromptAndVar</I> points directly to a variable tag, "?" is displayed as a
prompt.
<BR><BR>
<B>Note:</B> cmd_inputstr is not the recommended way for inputing data from the keyboard into the
program. It is limited to the TI-Basic Program I/O Screen window, and it stores the result in TI-Basic
variables, which is not so useful in C programs (i.e. you need to import the value
of a TI-Basic variable into the program, which is not so straightforward). See the
<A HREF="faq.html#input">keyboard input</A> section of the FAQ list for explanation of much
better ways to enter data from the keyboard.</P>
<HR>
<H3><A NAME="cmd_line"><U>cmd_line</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_line (<A HREF="estack.html#CESI">CESI</A> x1, <A HREF="estack.html#CESI">CESI</A> y1, <A HREF="estack.html#CESI">CESI</A> x2, <A HREF="estack.html#CESI">CESI</A> y2, <A HREF="estack.html#CESI">CESI</A> drawmode);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'Line' command.</B></P>
<P>cmd_line displays the Graph Screen and draws, erases, or inverts a line
segment on it.
The parameters <I>x1</I>, <I>y1</I>, <I>x2</I>, <I>y2</I>, and
<I>drawmode</I> should point to five items on the expression stack,
which represent respectively the coordinates of the starting point, the
ending point, and the drawing mode. All coordinates are integer or floating point
values which are relative to the
current window settings (you can change them using the "Window Editor"
application, or directly by storing values in system variables "xmin" etc.,
using the <A HREF="vat.html#VarStore">VarStore</A> function). The
parameter <I>drawmode</I> should point to one of the following values:
<BR><BR>
<TABLE BORDER CELLPADDING="3">
<TR><TD VALIGN="TOP">1</TD><TD>Draws the line.</TD></TR>
<TR><TD VALIGN="TOP">0</TD><TD>Erases the line.</TD></TR>
<TR><TD VALIGN="TOP">-1</TD><TD>Inverts pixels along the line.</TD></TR>
</TABLE>
<BR>
See also <A HREF="#cmd_pxlline">cmd_pxlline</A>, which uses pixel
coordinates instead of window-relative ones, and
<A HREF="graph.html#DrawLine">DrawLine</A> (or
<A HREF="graph.html#DrawClipLine">DrawClipLine</A>) for much faster
low-level line drawing (independently of the Graph Screen).</P>
<P>See also: <A HREF="#cmd_pxlline">cmd_pxlline</A>, <A HREF="graph.html#DrawLine">DrawLine</A>, <A HREF="graph.html#DrawClipLine">DrawClipLine</A>, <A HREF="#cmd_circle">cmd_circle</A>, <A HREF="#cmd_linehorz">cmd_linehorz</A>, <A HREF="#cmd_linevert">cmd_linevert</A>, <A HREF="#cmd_pton">cmd_pton</A>, <A HREF="#cmd_ptoff">cmd_ptoff</A>, <A HREF="#cmd_ptchg">cmd_ptchg</A></P>
<HR>
<H3><A NAME="cmd_linehorz"><U>cmd_linehorz</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_linehorz (<A HREF="estack.html#CESI">CESI</A> y, <A HREF="estack.html#CESI">CESI</A> drawmode);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'LineHorz' command.</B></P>
<P>cmd_linehorz displays the Graph Screen and draws, erases, or inverts a
horizontal line on it. The parameters <I>y</I> and <I>drawmode</I> should
point to two items on the expression stack, which represent
respectively the y coordinate of the line and the drawing mode. The
y coordinate is an integer or floating point value which is
relative to the current window settings (you can
change them using the "Window Editor" application, or directly
by storing values in system variables "xmin" etc., using the
<A HREF="vat.html#VarStore">VarStore</A> function).
The parameter <I>drawmode</I> should point to one of the following values:
<BR><BR>
<TABLE BORDER CELLPADDING="3">
<TR><TD VALIGN="TOP">1</TD><TD>Draws the line.</TD></TR>
<TR><TD VALIGN="TOP">0</TD><TD>Erases the line.</TD></TR>
<TR><TD VALIGN="TOP">-1</TD><TD>Inverts pixels along the line.</TD></TR>
</TABLE>
<BR>
See also <A HREF="#cmd_pxlhorz">cmd_pxlhorz</A>, which uses pixel
coordinates instead of window-relative ones, and
<A HREF="graph.html#DrawLine">DrawLine</A> (or
<A HREF="graph.html#DrawClipLine">DrawClipLine</A>) for much faster
low-level line drawing (independently of the Graph Screen).</P>
<P>See also: <A HREF="#cmd_pxlhorz">cmd_pxlhorz</A>, <A HREF="graph.html#DrawLine">DrawLine</A>, <A HREF="graph.html#DrawClipLine">DrawClipLine</A>, <A HREF="#cmd_linevert">cmd_linevert</A>, <A HREF="#cmd_line">cmd_line</A></P>
<HR>
<H3><A NAME="cmd_linetan"><U>cmd_linetan</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_linetan (<A HREF="estack.html#CESI">CESI</A> expr, <A HREF="estack.html#CESI">CESI</A> x);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'LineTan' command.</B></P>
<P>cmd_linetan displays the Graph Screen and draws a tangent line to the
expression pointed to by <I>expr</I> (the expression is assumed to be a
function which uses <I>x</I> as the independent variable) at the point
specified by the floating point item pointed to by <I>x</I>.</P>
<P>See also: <A HREF="#cmd_slpline">cmd_slpline</A>, <A HREF="#cmd_line">cmd_line</A>, <A HREF="#cmd_drawfunc">cmd_drawfunc</A></P>
<HR>
<H3><A NAME="cmd_linevert"><U>cmd_linevert</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_linevert (<A HREF="estack.html#CESI">CESI</A> x, <A HREF="estack.html#CESI">CESI</A> drawmode);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'LineVert' command.</B></P>
<P>cmd_linehorz displays the Graph Screen and draws, erases, or inverts a
vertical line on it. The parameters <I>x</I> and <I>drawmode</I> should
point to two items on the expression stack, which represent
respectively the x coordinate of the line and the drawing mode. The
x coordinate is an integer or floating point value which is relative to the current
window settings (you can
change them using the "Window Editor" application, or directly
by storing values in system variables "xmin" etc., using the
<A HREF="vat.html#VarStore">VarStore</A> function).
The parameter <I>drawmode</I> should point to one of the following values:
<BR><BR>
<TABLE BORDER CELLPADDING="3">
<TR><TD VALIGN="TOP">1</TD><TD>Draws the line.</TD></TR>
<TR><TD VALIGN="TOP">0</TD><TD>Erases the line.</TD></TR>
<TR><TD VALIGN="TOP">-1</TD><TD>Inverts pixels along the line.</TD></TR>
</TABLE>
<BR>
See also <A HREF="#cmd_pxlvert">cmd_pxlvert</A>, which uses pixel
coordinates instead of window-relative ones, and
<A HREF="graph.html#DrawLine">DrawLine</A> (or
<A HREF="graph.html#DrawClipLine">DrawClipLine</A>) for much faster
low-level line drawing (independently of the Graph Screen).</P>
<P>See also: <A HREF="#cmd_pxlvert">cmd_pxlvert</A>, <A HREF="graph.html#DrawLine">DrawLine</A>, <A HREF="graph.html#DrawClipLine">DrawClipLine</A>, <A HREF="#cmd_linehorz">cmd_linehorz</A>, <A HREF="#cmd_line">cmd_line</A></P>
<HR>
<H3><A NAME="cmd_linreg"><U>cmd_linreg</U></A></H3>
<P><A HREF="httigcc.html#minams">AMS 1.01 or higher</A></P>
<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#void">void</A></B> cmd_linreg (<A HREF="estack.html#ESI">ESI</A> RegData);</TD></TR></TABLE></P>
<P><B>Executes TI-Basic 'LinReg' command.</B></P>