TI-BASIC have not RETURN CMD for a PRG, the following prg (copyto_h) written in ASM, http://www.ticalc.org/archives/files/fi ... 16366.html
returns a string or expr to HOME HISTORY from a PRG =)
- Code: Tout sélectionner
prt2HOME()
Local titlereq,x,s1,s2
ClrHome
"Places a str the entry"→s1
"Places a str at the answer"→s2
"x"→titlereq
©4→x
Dialog
Request titlereq,x
EndDlog
expr(x)→x
copyto_h("s1","s2")
copyto_h("titleReq","x")
EndPrgm