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
   Networked Database  VBBS/VADV Script Discussion   [218 / 233] RSS
 From   To   Subject   Date/Time 
Message   Steve Winn    Weird Al   Variable name restrictions?   May 7, 2019
 8:37 PM  

Re: Variable name restrictions?

> It's been a long time since I scripted in VBBS, let alone VA, but I'm
> wondering what insights you can give on variable and label name restrictions.
>
> I've had some wonky results with longer names or names with the same prefix
> word but a different suffix.
>
> Any rules you can toss my way would be helpful.  I've overcome the issue
> using single or double letter variable names, but I'd like to know the
> limitations/ rules.

In VADV, you can use A0, A1, B0, etc. There are no descriptive named variables.
Some are reserved like X0, Y0, Z0.

You also have an array you can use $1-$255.. which is a really nice addition
from VBBS. You can use variables to reference the array, such as LET A0 = 1;
LET $A0 = "BLAH" will set $1 to "BLAH".

Once you figure out a system on what letters to use for things, you can keep
track of what they are. You can look at my ATMatrix script for possibly the
best example of what I do.


--
[AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org]
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to VBBS/VADV Script Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0155 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.
v2.1.241108