For the ti-89 BASIC
Don't know if this belongs...delete if not.
Try to Program with out using
c1-->
ec2
Stop is Evil
Use Return and Break
-------------------------------------------------------
Like I said before to test for HW2, HW3
c1
-->
CODE |
ec1if getConfg()[22]>2000000: Text "Titanium"c2 |
ec2
----------------------------------------------------------
To measure time on HW2 or HW3
c1
-->
CODE |
ec1StartTmr()->trm .....//code .....//code getTime()->trm2 Disp "Elapsed Time", timeCnv(trm2-trm)[1] & " Days",timeCnv(trm2-trm)[2] &" Hours", timeCnv(rtrm2-trm)[3] & " Minutes",timeCnv(trm2-trm)[4] & "Seconds"c2 |
ec2
---------------------------------------------------------------
in 89 Basic you can load strings on top of cells in list and matricies. This is useful for event programming:
c1
-->
CODE |
ec1"This code is in a list"->fl[1]//assumes fl exist as a list var Text fl[1]c2 |
ec2
This way you can trim your programs down by storing all dialog into list and matricies.
-----------------------------------------------------------------
to convert getkey() directly to characters
c1
-->
CODE |
ec1while a=a char(getkey()) endwhilec2 |
ec2