Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good scripting languages..
#1
Anyone know of any? I'm not talking about Sadscript, something a bit faster. Hell, if someone can tell me how to make one myself, that'd be great. xD
Reply
#2
Why do you want a scripting language other than sadscript oO? There's c++ but I doubt you can add this to a vb-project..
Reply
#3
lua
Reply
#4
Kouga20 Wrote:Why do you want a scripting language other than sadscript oO? There's c++ but I doubt you can add this to a vb-project..
C++ is not a scripting languege.


Nean, when you say sadscript I assume you mean the skin on ms scripting control that elysium ripped out of an example from pscode.

Ms script control is scripting for vb. I don't know of any others easily accessible. It is really not that slow for scripting. What are you planning to do with it?
Reply
#5
lua is awesome.

Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips.

Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand).

To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want..
Reply
#6
Fox Wrote:lua is awesome.

Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips.

Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand).

To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want..

Classes? Could you elaborate... This is new to me, so I have no idea where to start.
Reply
#7
Nean Wrote:
Fox Wrote:lua is awesome.

Look heavily into beanshell if you are thinking Java, its the nicest 'scripting' language I've seen bolted directly into Java. Import beanshell.* and BAM a highly flexible scripting language at your fingertips.

Of course, XML is rapidly becoming (if not already) the external file standard to follow and lua is basically a different implementation of that (or so I understand).

To be honest, I've always seen visual basic as a heavyweight adaptation of a scripting language, all the principles are there o.0... have you considered using classes? That might be more what you want..

Classes? Could you elaborate... This is new to me, so I have no idea where to start.

Classes are a fucking mess in VB6.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#8
Classes are amazing.
Reply
#9
GIAKEN Wrote:Classes are amazing.

Robin Wrote:Classes are a fucking mess in VB6.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#10
Robin Wrote:Classes are a fucking mess in VB6.

GIAKEN Wrote:Classes are amazing.
Reply
#11
Someone fucking explain them.
Reply
#12
Resuming... it's a Type with not only variables inside, but also functions, called methods.
Big Grin
Reply
#13
Yeah...they're fun. Example:

>

clsPlayer:

Code:
Private Player As PlayerRec

Type PlayerRec
    Name As String
End type

Private Property Let Name(ByVal SetValue As String)
    Player.Name = Trim$(SetValue)
End Sub

<

Then to use that just do this:

>

Wherever:

Code:
Public CPlayer As clsPlayer

CPlayer.Name = "Hey"

Reply
#14
Odd.... Thanks for the explanation, I'll have to read up on these.
Reply
#15
You can even write your own DirectX 7 class and instead of having all of those public declarations for surfaces and shit you can do it all through the class or even a Winsock class and so on. It's very useful. I haven't tested it speed-wise, but it's probably going to be faster.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)