PDA

View Full Version : MAD idea about VBS integration inside thinBasic



ErosOlmi
26-09-2007, 12:22
I have a mad idea for the future about the possibility to integrate thinBasic source code with vbs functions source code all inside the same script and let the engine understand it and do relevant steps.

Something like:


FUNCTION [VBS [VBScript|JScript]] MyFunctions()
END FUNCTION


If VBS keyword is present, the function/sub will be passed to VBS engine, executed and value (if function) returned.
I've already done something similar in the past and I'm quite sure to be able to do it.

What do your think? Too much mad?
Biggest problem I can think is thinBasic will be dependant from VBS engine but I'm sure I can make it dynamic, that is VBS engine will be taken into consideration only if script contains VBS functions and not in all cases.

Ciao
Eros

Michael Hartlef
26-09-2007, 22:02
I have no need for it.

Petr Schreiber
27-09-2007, 18:02
This is very wild :),

on one side it is very interesting,
but currently I can't think of feature VBS / JavaS has and I have no equivalent of it in tB.


Thanks,
Petr

kryton9
28-09-2007, 01:50
I don't see anything against having it as it could bring lots of new users in who are used to VB or VBS. It is always nice to have options!! It does sound wild though, I don't know how you pull off something like that!!