| View previous topic :: View next topic |
| Author |
Message |
SK Newbie
Joined: 29 Dec 2003 Posts: 14
|
Posted: Mon Feb 16, 2004 2:28 pm Post subject: Variables assigning question |
|
|
Hi, all
Question about variables:
Is it a way to assign the same value to large number of variables
in one turn... something like this:
Thanks. _________________ SK |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Feb 16, 2004 2:34 pm Post subject: |
|
|
No, but what you could do is, if you have a large list of variables that
you want to change all to a different value each time, use something like:
| Code: | %M = 0
GOSUB SETVARS
%M = 1
GOSUB SETVARS
:SetVars
%a = %M
%b = %M
%c = %M
exit |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team
Last edited by FreezingFire on Mon Feb 16, 2004 2:43 pm; edited 1 time in total |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
SK Newbie
Joined: 29 Dec 2003 Posts: 14
|
Posted: Mon Feb 16, 2004 2:49 pm Post subject: |
|
|
Thanks for replies,
just thought it is some undocumented trik (something like putting
multiple functions after "if" or "until")... _________________ SK |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
SK Newbie
Joined: 29 Dec 2003 Posts: 14
|
Posted: Mon Feb 16, 2004 2:55 pm Post subject: |
|
|
Ok, in this case the one thing we can do, is to move it to "Wish List"  _________________ SK |
|
| Back to top |
|
 |
|