Problem an Repeat Loop

Tore Nilsen tore.nilsen at me.com
Mon Sep 28 01:49:15 EDT 2020


You do not refer to any object type when you try to set the fileName of what should possibly be an image. 

Try this:
Set the fileName of image sStoryImage to tPath

Best regards 
Tore Nilsen

> 28. sep. 2020 kl. 03:47 skrev Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com>:
> 
> # for development
> local tPath
> repeat with x = 2 to sTotalSceneCount
> 	put line x of sImageList into tPath
> 	go to card x
> 	 set the filename of sStoryImage to tPath
> 	 set the itemDelimiter to “|”
> 	put item x of sQuoteList into fld “mainText”
> end repeat
> 
> # I get a full line 
> 
> stack “makeStoryFromDisk”: execution error at line 68 (Chunk: error in object expression), char 1
> 
> It is exactly the same as in input for behavior_story except that
> do not work a repeat loop?
> 
> BR
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list