|
||
|
|
#1 (permalink) |
|
Forum Expert
|
With the ability in Beta 21 for VB .Net scripts to work with RunUO and interact with C# scripts I think it would be a good thing if C# scripts could interact with the VB .Net scripts as well.
There are enough people that know C# or VB .Net or both that having it work in both directions would be good, cause no matter which language you know you can write scripts that interact with scripts in the other language. Hope this makes some sense. |
|
|
|
|
|
#2 (permalink) |
|
Forum Administrator
Join Date: Aug 2002
Posts: 2,850
|
The problem is that of compilation. As I understand it, the current compilers cannot compile code from both languages at the same time. As a result, the two languages must be compiled seperately.
So, the C# scripts get compiled first, and because of that, they cannot reference the as-yet uncompiled VB.NET scripts. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Nov 2002
Posts: 630
|
i know VB and c++
and I must say going to c# was easy.. c++ is easy.. VB just takes alot of workaround... but C# is to the point I find. so Im happy I took weeks to read the scripts and learn it.. now i can do minor scripts and im proud of em! |
|
|
|
|
|
#6 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,870
|
There is still plenty you can do in vb.net. You can do anything in vb than you can do in the C# scripts.
You can still reference vb from C#, you have to use ScriptCompiler.FindTypeByName and use the Type option to find parameteers and stuff....
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|