Indigo Rose Software
  #1  
Old 03-04-2008
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,059
Issue? - dofile and require

I read the Help file and the following in particular:

Quote:
Note that as long as you put the .lua file into your project’s Scripts folder, you don’t even have to provide a full path to the file. For example:

require("MyScript.lua");

...is the same as:

require(_SourceFolder.."\\AutoPlay\\Scripts\\MyScr ipt.lua");
I also noticed that it's only listed in the 'require' portion (and only works with 'require'), and not in the 'dofile' section.

Is that by design, or?
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #2  
Old 03-10-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
I'm honestly not sure about this one and will have to look into it. We'll take a look to see if there was a reason for it, or just an oversight.

REF: 17295
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #3  
Old 03-10-2008
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,059
Thanks Darryl.
__________________
Intrigued
www.amsuser.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lua Function Call azmanar AutoPlay Media Studio 6.0 6 01-06-2006 03:50 AM


All times are GMT -6. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software