I want to handle my external data with scripts but i keep getting errors with my scripts. Could someone please help me and tell me what i'm doing wrong?
LUA Code
Video$="Video\Logo.avi"
AnimNumber$=1
DBPro Code
r=load lua("Video.lua")
load animation Video$,AnimNumber$
play animation AnimNumber$
sleep 5000
I Keep Getting the error "Parameter for 'load animation' do not match 'filename,animation number'
is there something i'm missing to read the veriables from the lua script? Could someone please tell me what code i'm missing to get this to work thanks.