Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Merge
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00754274
Message ID:
00754299
Vues:
31
>There isn't a function you can call in .NET to give you the same functionality as in VFP. That is a difference between a compiled language vs. an interpreted language. There is one option that you can try to incorporate.

Just to clarify on the issue of compiler vs. interpreter. Visual FoxPro is actually a tokenized pseudo code compiler. This means that VFP compiles FoxPro source code into p-code which is then used against a runtime. In fact, it is much like the .NET CLR in the fact that code is compiled into a serial instruction set for a runtime engine to interpret at execution time. The VBScript and JScript engines that are included with Internet Explorer and can be used with CreateObject("ScriptControl") is a full interpreter, while both VFP and .NET are compilers that compile source code to a byte set that their runtime engines use. The reason that VFP allows TextMerge, Evaluate(), and ExecScript() is the nature of the VFP runtime engine and how it allows compiling p-code for the VFP runtime engine to run all at runtime, something that is not supported with the .NET CLR. On a related side note: What is interesting is that when we compare VFP code building a large XML string from a 1000 row result set from SQL Server compared to the same function using C#, the performance results are almost identical.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform