• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

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.
0
dbroosv
Asked:
dbroosv
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
You better not use VB for that!

Use a language which, such as VC++, allow you to use pointers.
0
 
aranaCommented:
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)
0
 
FalconMasterCommented:
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)
0
 
Anthony PerkinsCommented:
Please maintain your open questions:

Synchronization Date: 01/24/2002 12:01PM PST
http://www.experts-exchange.com/jsp/qShow.jsp?ta=palmpilot&qid=20259144
don't kill a process under windows 2000 Date: 11/29/2001 08:48AM PST  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20241963

Anthony
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now