| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 8:00 pm Post subject: I get Run time error 33 with LIST append,1 ??? |
|
|
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 8:25 pm Post subject: |
|
|
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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 8:34 pm Post subject: |
|
|
This is a bit more complete below:
| Code: | RANDOM @datetime(ssnnss)
%r = @RANDOM(80)
LIST append,1,%r |
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 8:36 pm Post subject: |
|
|
Ya might check if %r has a value...
| Code: |
if %r
LIST append,1,%r
else
WARN Error!
end
|
Cheers, Mac  _________________ 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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 8:44 pm Post subject: |
|
|
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:
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 8:52 pm Post subject: |
|
|
Well, if "LIST append,1,%r" is the prob, ya only have
two choices (I think).
Either ya closed LIST 1 someplace or %r is empty...
Cheers, Mac  _________________ 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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 8:58 pm Post subject: |
|
|
Wait a sec... isn't "LIST APPEND" for appending one
list to another (working from memory here....)?
Try LIST ADD, 1, %r
Cheers, Mac  _________________ 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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 9:08 pm Post subject: |
|
|
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,  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 9:11 pm Post subject: |
|
|
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).
Cheers, Mac  _________________ 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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 9:22 pm Post subject: |
|
|
Success !!!
When your stumped, theres only 1 place to go:
http://forum.vdsworld.com
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
Thanks once again MAC  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 9:26 pm Post subject: |
|
|
Glad to help.
Cheers, Mac  _________________ 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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 9:40 pm Post subject: |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 9:47 pm Post subject: |
|
|
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).
Cheers, Mac  _________________ 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 |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Mar 24, 2004 9:50 pm Post subject: |
|
|
I was just getting ready to try that, I have 80 IF's, so it'll take awhile to convert them all,
Thanks again.. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 9:57 pm Post subject: |
|
|
Ya could use VDSug.dll with the "UG DRAW,REFRESH"
command under a :PAINT label. This should avoid any
flicker on redraw (I think...).
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...
Cheers, Mac  _________________ 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 |
|
 |
|
|
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
|
|