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 


I get Run time error 33 with LIST append,1 ???
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 8:00 pm    Post subject: I get Run time error 33 with LIST append,1 ??? Reply with quote

Well I'm stumped again - lol

I get Run time error 33 with LIST append,1
<<< ERROR 33 = User-defined error in external command >>>

I'm not sure what they mean by 'external command'
But I'm not doing any other tasks but this program, no background programs.

I seems to be related to using the:
Code:
RANDOM @datetime(ssnnss)
%r = @RANDOM(80)
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 8:25 pm    Post subject: Reply with quote

When I run it with the 'Run Script' button I get a different ERROR below:

Error: Unhandled exception ""
at line: 287

I searched for the "" manually (since the search engine apparrently can't do that) and am not using the the "" anywhere.

Strange.. hehe
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 8:34 pm    Post subject: Reply with quote

This is a bit more complete below:


Code:
RANDOM @datetime(ssnnss)
%r = @RANDOM(80)

LIST append,1,%r
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 8:36 pm    Post subject: Reply with quote

Ya might check if %r has a value... Wink

Code:

if %r
   LIST append,1,%r
else
   WARN Error!
end



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
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 8:44 pm    Post subject: Reply with quote

hehe

I tried most things like that:

Code:
IF @NULL(%r)
info the "%r string is empty
END

It may have something to do with me removing the 80 LIST box - etc (during ReFresh etc)

but I got all the remove and ADD errors takin' care of, its wierd if rem the line:
Code:
LIST append,1,%r
everythings seems fime...

and its the only place I'm attempting to use the LIST command, except the creater and close LIST comands..

hmm
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 8:52 pm    Post subject: Reply with quote

Well, if "LIST append,1,%r" is the prob, ya only have
two choices (I think). Confused

Either ya closed LIST 1 someplace or %r is empty... Wink

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
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 8:58 pm    Post subject: Reply with quote

Wait a sec... isn't "LIST APPEND" for appending one
list to another (working from memory here....)? Confused

Try LIST ADD, 1, %r Wink

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
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 9:08 pm    Post subject: Reply with quote

well I only have this as far as LIST:

LIST create,1
LIST append,1,%r
LIST close,1

Just 3 apprearences total..

APPEND appends the contents of <list2> to <list>. The second list parameter can be a string containing a list of items separated by carriage return characters as well as a list identifier

I appreciate the Help Mac, I'm good at gettin' stumped, Embarassed
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:11 pm    Post subject: Reply with quote

I'd still try "LIST ADD" since your string "%r" isn't
separated by carriage returns - could be a bug in
the "LIST APPEND" command as well (it's new to
VDS 5 I think). Wink

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
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 9:22 pm    Post subject: Reply with quote

Very Happy Success !!!

When your stumped, theres only 1 place to go:
http://forum.vdsworld.com Wink

You were exactly right, the append has a bug, ADD works perfectly.
Thats why we need you guys, your so full of experience and knowledge on VDS and much more.

I shore do appreciate all your help, know I can get my Keno game done Laughing

Thanks once again MAC Smile
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:26 pm    Post subject: Reply with quote

Glad to help. Wink

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
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 9:40 pm    Post subject: Reply with quote

Maybe you could answer another question(problem) I have with this same program I'm writing.

The TEXT with black background flash or flicker when I run the RANDOM remove and ADD 80 LIST box's.

Any ideas why TEXT areas flash or blink? (heres basically what I have)

Code:
DIALOG ADD,STYLE,STYLE2,,22,B,red,black
DIALOG ADD,STYLE,STYLE3,,11,B,black,Yellow

DIALOG ADD,TEXT,textcard1,60,28,173,29,@FILL(8,,L)Card A,,,style3

DIALOG ADD,LIST,box1,47,217,40,40,1,Multi,style2
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:47 pm    Post subject: Reply with quote

It's prolly just the redraw - VDS elements aren't synchronized
with the screen refresh.

Ya might try using HIDE/SHOW rather than ADD/REMOVE. Then
at least when ya hide the top one, the other one is already under
it (sometimes). Wink

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
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Mar 24, 2004 9:50 pm    Post subject: Reply with quote

Embarassed
I was just getting ready to try that, I have 80 IF's, so it'll take awhile to convert them all, Laughing


Thanks again..
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:57 pm    Post subject: Reply with quote

Ya could use VDSug.dll with the "UG DRAW,REFRESH"
command under a :PAINT label. This should avoid any
flicker on redraw (I think...). Wink

EDIT - OOPS, gotta use the "UG DRAW, SAVESCREEN"
command first, so I'm not sure if it keeps flicker out of the
element redraw or not. OFFSCREEN/ONSCREEN is what's
designed for the flicker free draw routines anyway... Embarassed

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


Last edited by Mac on Wed Mar 24, 2004 10:14 pm; edited 4 times in total
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
Goto page 1, 2  Next
Page 1 of 2

 
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