Anonymous user
Runtime evaluation: Difference between revisions
autohotkey example
(Added PicoLisp) |
(autohotkey example) |
||
Line 4:
For a more restricted task, see [[Eval in environment]].
{{omit from|AutoHotkey}}▼
=={{header|ALGOL 68}}==
Line 19:
+3.14159265358979e +0
</pre>
{{works with | AutoHotkey_H}}
function [http://www.autohotkey.net/~HotKeyIt/AutoHotkey/addScript.htm addScript] can be used to dynamically add lines of code to a running script.
<lang AutoHotkey>DllCall(A_AhkPath "\addScript","Str","MsgBox hello world","Uchar",1,"Cdecl UInt")
return
!q::exitapp ; hotkey needed to make script persistent so it doesn't
; exit before eval is executed</lang>
=={{header|BASIC}}==
|