Difference between import and include


Hi,
import is used when you want to use a class file in your document, while if u have to use a chunk of code (simple linear code) you have to use include

Ex.
import table.Rows;
here table is your package and Rows is your class name
————————-
include “code.as”;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s