On 10/5/13 5:16 PM, tbodine wrote:
Hi LiveCoders.I'm writing an "Open Recent Files" feature that stores paths to the last 10 files opened in a field in a separate stack ("AppPrefs"). I consistently get crashes (LC 6.1.1 commercial) when I attempt to delete certain lines of that field, which is stored in a stack in the user's AppData area. -- delete the last line after adding new one to top if the number of lines in field "Recent" of stack "AppPrefs" > 10 then delete the last line of field "Recent" of stack "AppPrefs" -- CRASHES! end if --similarly, this crashes when I loop through the same field's lines and try to delete prior listings of the same filepath: delete line n of field "Recent" of stack "AppPrefs" -- CRASHES Am I missing s/g obvious or is there a bug at work?
Sounds like a bug to me. But at any rate, the engine should never crash even if you really are doing something wrong. I'd say send a report.
-- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
