spreading my script across several files

J

John Mas

how do i reference a function in one external script file from another
external file?

many thanks

john
 
M

Michael Winter

how do i reference a function in one external script file from another
external file?

Just as you would if they were in the same file. Be sure that the script
containing the function is included before the call.

Mike
 
J

John Mas

thanks, brain stuck in neutral

john
Michael Winter said:
Just as you would if they were in the same file. Be sure that the script
containing the function is included before the call.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top