|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-07-16 05:32 UTC] goodook at 163 dot com
Description:
------------
can not return value by use the script Host function 'eval'
[code]: Debug.Print ScriptControl1.Eval(" 1 + 9;")
print out must be 10, but nothing output.
Test script:
---------------
code: Debug.Print ScriptControl1.Eval(" 1 + 9;")
print out must be 10, but nothing output.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 19:00:01 2025 UTC |
VB CODE: Dim f ScriptControl1.Language = "PDAscript" f = ScriptControl1.Eval("1+9") here the variable 'f' must be 10 but, 'f' not get the value which return from 'ScriptControl1.Eval'ScriptControl1.Language = "VBscript" f = ScriptControl1.Eval("1+9") HERE f will be '10' ScriptControl1.Language = "PHPscript" f = ScriptControl1.Eval("1+9") HERE f is null.