Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
How can I use script library file?
Hi all,
I don't know how to use script libray file and I put all of the functions on one main file. Can someone do a simple demo of how to use library files?
Is is like the following?
Are arguments in the calling function passed to the functions in the library files?
========================================
//mian file: main.js
function main()
{
subFunctionOne(para1, para2);
}
//library file: libOne.js
function subFunctionOne(para1, para2)
{
}
0