在运行时创建变量 [英] Creating variables at Run-time

查看:73
本文介绍了在运行时创建变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能在VB中吗?例如,在PHP中,您可以使用$$比如$$ future_var代替将在稍后创建的变量名。


谢谢。

解决方案

"比如


future_var代替将在稍后创建的变量名。


谢谢。


除非您创建应用程序变量或在类中创建的应用程序变量,否则我不相信这种情况。 HTH。

Is this possible in VB? for example, in PHP you can use the "$$" like $$future_var in place of a variable name that will be created only later.

thanks.

解决方案

" like


future_var in place of a variable name that will be created only later.

thanks.


I don''t believe this is the case unless you create application variables or ones created in classes. HTH.


这篇关于在运行时创建变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆