ScriptUO

Scripting Resources & Utilities => ScriptUO Application => General Discussion => Topic started by: Superslayer on December 23, 2009, 11:52:41 AM

Title: Commenting in ScriptUO
Post by: Superslayer on December 23, 2009, 11:52:41 AM
I've always found it strange that in EUO, commented lines were finite, as in, the whole line is therefore unused. In many, if not all other programming languages, there is a 'closing' comment feature. Such as
Code: [Select]
used code <!-- in HTML, unused code --> used code
Code: [Select]
used code /* in CSS, unused code */ used code
Heck, even these boards!

So I wonder, is something like this possible someday in SUO?
Title: Re: Commenting in ScriptUO
Post by: TrailMyx on December 23, 2009, 11:56:47 AM
Probably not.  Doing so would make scripts written for SUO become incompatible with EUO.  That's always been an important concept.
Title: Re: Commenting in ScriptUO
Post by: Superslayer on December 23, 2009, 12:03:32 PM
I figured as much...Come on Cheffe, get with the times !!  :P ;)
Title: Re: Commenting in ScriptUO
Post by: TrailMyx on December 23, 2009, 12:19:52 PM
I figured as much...Come on Cheffe, get with the times !!  :P ;)

Well, they are requiring you all to learn LUA.  lol.  I do NOT wear grass skirts!
Title: Re: Commenting in ScriptUO
Post by: Superslayer on December 23, 2009, 12:21:39 PM
I looked at it a few times, it's interesting that UOCartographer also is written in LUA.
Title: Re: Commenting in ScriptUO
Post by: TrailMyx on December 23, 2009, 12:25:28 PM
I looked at it a few times, it's interesting that UOCartographer also is written in LUA.

With .NET it all compiles down to IL.  LUA is just another language otherwise, relatively basic but functional.  It's just over the head of most basic script users.
Title: Re: Commenting in ScriptUO
Post by: Superslayer on December 23, 2009, 12:30:37 PM
IL?


..tag, your it.
Title: Re: Commenting in ScriptUO
Post by: TrailMyx on December 23, 2009, 12:34:50 PM
http://en.wikipedia.org/wiki/Common_Intermediate_Language