Karl Wochele

Results 18 comments of Karl Wochele

That seems to work, thank you

One more Issue: locals can't be used in codeblocks, e. g. ascan: ``` local n as dword local a as array local nPos as dword a := {1,2,3,4,5} n :=...

Robert, sorry I don't quite understand this. If i put my testcode into a string and call execscript I get the mentioned results: ``` LOCAL cScript AS STRING text into...

Robert, to circumvent the problem with the 3 parameters I implemented my own function to execute scripts, code is of course mainly stolen from yours :) ``` INTERNAL GLOBAL XSCompiledScripts...

Robert, do you have a short example how to implement the script compiler properly ? I'll make some tests tomorrow... Karl

Robert, here is my first attempt. I'm struggling with parameters and vo15 (treat missing types as usual) - options:SetOption(CompilerOption.Vo15,true) does not work, I always get "type expected" in the given...

Robert, I'm not sure if that is constructive. My Scripts are running quite well with ExecScript, except my notes above. PARAMETERS and LPARAMETERS are also working with ExecScript already. For...

> The solution for the missing parameter is to declare your own ExecScript(): > > ``` > FUNCTION ExecScript( cExpression, eParameter1, eParameter2, eParameterN ) AS USUAL CLIPPER > RETURN ExecScriptFast(_Args()...

> The current ExecScript was added to support FoxPro scripting. For that several things that you have already listed, this is not working like in the full compiler. Supporting everything...

Robert, I have the following easy script. In a standalone application it runs without problems. ``` #pragma options("vo15",true) #pragma options("memvars",true) local a as int a := 1 return a ```...