View Single Post
Old 21st October 2014, 09:02   #33  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Hi, wiseant.

You shouldn't need to use string(), as caption is already a string.
This works fine for me:

c1 = "Hello"
i = 1
caption = Eval("c"+string(i))
BlankClip().Subtitle(caption)
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote