[mono-vb] Another issue: eval.

MrUnleaded mrunleaded at gmail.com
Fri Apr 21 18:27:44 EDT 2006


You can generate code dynamically in VB.net....its not an easy task. You
have to use the System.CodeDom namespace to do this.

Here is an example of what i mean:

http://www.c-sharpcorner.com/Code/2005/May/DynamicCreatingAppl.asp

AFAIK you can not do something like eval("MessageBox.Show(""Hi"")")

On 4/20/06, Miguel de Icaza <miguel at novell.com> wrote:
>
> Hey,
>
>     Am not sure if VB.NET implements "eval", as in having the VB
> compiler available at runtime to generate code.
>
>     This is something that mcs/gmcs is not well suited for, and might be
> a reason to look into Boo.
>
>     The other issue is that we would have to relicense mcs/gmcs into MIT
> X11 or maybe LGPL (if we must implement eval).
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>



--
Kevin

-----------------------------------------------------------------
Anyone who doesn't take truth seriously in small matters cannot be trusted
in large ones either.
Albert Einstein

I am always doing that which I can not do, in order that I may learn how to
do it. - Pablo Picasso (1881-1973)

A thinker sees his own actions as experiments and questions--as attempts to
find out something. Success and failure are for him answers above all.
  - Friedrich Nietzsche
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20060421/1b4e6d08/attachment.html


More information about the Mono-vb mailing list