Runtime evaluation: Difference between revisions

Content added Content deleted
No edit summary
Line 241: Line 241:
println years5</lang>
println years5</lang>


=={{header|HicEst}}==
XEQ invokes the interpreter on a string of HicEst code, but keeps the current dictionary and stack state. Blocks of expressions are not possible.
<lang HicEst>value = XEQ( " temp = 1 + 2 + 3 ") ! value is assigned 6
! temp is undefined outside XEQ, if it was not defined before.

XEQ(" WRITE(Messagebox) 'Hello World !' ")

OPEN(FIle="my_file.txt")
READ(FIle="my_file.txt", Row=6) string
XEQ( string ) ! executes row 6 of my_file.txt</lang>


=={{header|J}}==
=={{header|J}}==