dbroosv
asked on
Dinamically variable creation
Hello experts!!
I'm trying to build a new programming language using visual basic. Like any other language, the user will have the chance to declare new variables (from the user's point of view the declaration is not at run time but from my point of view yes). Can you tell me please the way of creating and declaring new variables on the fly?
Thanks.
I'm trying to build a new programming language using visual basic. Like any other language, the user will have the chance to declare new variables (from the user's point of view the declaration is not at run time but from my point of view yes). Can you tell me please the way of creating and declaring new variables on the fly?
Thanks.
if you still want to use some kind of basic, have a look
at xbasic its very good and fast (and your code is portable to linux)
at xbasic its very good and fast (and your code is portable to linux)
If you really need to create a variable on the fly, the only way I can think to do it would be to use a variant array and use a Redim statement inside it to increase the size of the array
(May need Redim preserve, so as not to lose any other data)
(May need Redim preserve, so as not to lose any other data)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use a language which, such as VC++, allow you to use pointers.