forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


does vds have a variable limit?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Sep 15, 2002 11:08 pm    Post subject: does vds have a variable limit? Reply with quote

hello

all does vds have a varible limit? meaning can you only have some many varibles like this:


Code:


%%donwload = whatever


the resaon why i ask is that i get this error msg Sad

eorror code 5
line number 791
invalid variable name or to many variables

and i know the varible name is right..why do i get this eorror?

thanks
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sun Sep 15, 2002 11:14 pm    Post subject: Reply with quote

Yes, there indeed is a limit. For VDS 4 this is 256 long variable names.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Sep 15, 2002 11:50 pm    Post subject: hummm Reply with quote

hummmmm

i know i don't have 256...so i must have somethime else wrong....

k thanks
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Mon Sep 16, 2002 12:00 am    Post subject: Reply with quote

Make sure you actually spelled the variable the same as other places in your script. Your example was %%donwload = whatever, which I would think should be %%download.
Also make sure you only use letters and numbers in a variable's name.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Sep 16, 2002 12:11 am    Post subject: Reply with quote

SnarlingSheep wrote:
Make sure you actually spelled the variable the same as other places in your script. Your example was %%donwload = whatever, which I would think should be %%download.
Also make sure you only use letters and numbers in a variable's name.



ahhhhhhhhh k letters and number only....hummm let my check that

thanks
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Sep 16, 2002 4:58 am    Post subject: Reply with quote

For VDS3 the variable limit is 163:

DialogScript allows you to have up to 163 variables.

35 standard variables. Variable names start with a percent symbol, followed by the character 1 to 9 or A to Z.

As well as the standard variables %A to %Z and %0 to %9 you can have 128 user-defined variable names. These variables begin with %%, a letter, then alphanumerics plus underscores (e.g. %%my_variable_1.) There is no limit on the length of the variable name.

Copyright 1995 - 2000 S.A.D.E. s.a.r.l. / All rights are reserved.


Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Que
Valued Newbie


Joined: 25 Aug 2001
Posts: 38
Location: Newaygo, MICH

PostPosted: Mon Sep 16, 2002 12:34 pm    Post subject: Reply with quote

I was going to mention... as quoted from the help file in Mac's post. Though your Variables can contain numbers, they must start with a letter; they cannot start with a number.

%%Tim12 = Very Happy
%%12Tim = Crying or Very sad

_________________
Que
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group