jbs30000 Posted June 15, 2007 Share Posted June 15, 2007 Say at the beginning of the program I go dim MyVar1=a and then somewhere else in the program I do MyVar2=a I can now use either to access a right? Also, say instead of using MyVar2 I do something like MyFixed=a.b Now, I can use MyVar1 to access a as an integer and MyFixed to access a.b as a fixed number, right? Thanks. Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted June 15, 2007 Share Posted June 15, 2007 Say at the beginning of the program I go dim MyVar1=aand then somewhere else in the program I do MyVar2=a I can now use either to access a right? Yes, you can-- just don't forget that if you change MyVar1, then MyVar2 will change as well, because they are both simply alternative names for a. Also, say instead of using MyVar2 I do something like MyFixed=a.bNow, I can use MyVar1 to access a as an integer and MyFixed to access a.b as a fixed number, right? Thanks. Yes-- but again, if you change MyVar1, you will also be changing MyFixed. Michael Quote Link to comment Share on other sites More sharing options...
+batari Posted June 15, 2007 Share Posted June 15, 2007 (edited) One thing to consider is you are limited to (I think) 50 dims per program in bB 1.0 (which someone already ran into ). This will be bumped up to 500 in the next version. Edited June 15, 2007 by batari Quote Link to comment Share on other sites More sharing options...
jbs30000 Posted June 15, 2007 Author Share Posted June 15, 2007 Thank you both. And batari, I'm especially greatful for the 50 dim warning. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.