AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Steve Winn | Weird Al | Variable name restrictions? |
May 8, 2019 8:19 AM |
|||
Re: Variable name restrictions? > Re: Variable name restrictions? > > > In VADV, you can use A0, A1, B0, etc. There are no descriptive named var > > Some are reserved like X0, Y0, Z0. > > You also have an array you can use $1-$255.. which is a really nice addi > > from VBBS. You can use variables to reference the array, such as LET A0 > > LET $A0 = "BLAH" will set $1 to "BLAH". > > Once you figure out a system on what letters to use for things, you can > > track of what they are. You can look at my ATMatrix script for possibly > > best example of what I do. > > Did you mean LET $A0 = $1? > > I'll have a look. I'm surprised my script works with the variable names I've > used. No, we can assign A0 the value of 1 then we can use that to work with the array. In VADV, variables do not have a prefixed dollar sign. The dollar sign is used to specify the array. ' Assign variable A0 the value of 1 LET A0 = 1 ' Assign array element 1, a string value. LET $1 = "This is a test" ' Print the array by referencing the value of A0. ? $A0 That should print "This is a test". This concept allows you to use loops with the array. -- [AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org] |
||||||
|
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0156 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |