Book a Demo

Author Topic: VBScript  (Read 3509 times)

ronnie

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
VBScript
« on: May 30, 2002, 09:04:35 am »
I am working on an asp project which utilises (so far 9 classes) in VBScript.

The closest code generation option in EA is to use VB.NET which I haven't had any exposure to yet, but that option seems to import most of my classes, but has a lot of problems with the properties and also won't let me choose 'no type' (VBScript doesn't allow variables to be typed - everything is implied a variant and the keyword AS after a variable declaration generates syntax errors).

Properties seem to be missed altogether except the default property which loses it's name and gets called default instead eg:

Public Property Get value()
 value = internal_value
End Property

Public Property Let value(val)
 internal_value = val
End Property

The above just seems to get lost

Is this a problem in the VB.NET generation or is the difference between the two too much to use?

Is there any chance of getting VBScript supported?

Ronnie
Ronnie