#EXPORT (export symbol to text) 

Top  Previous  Next

 

#EXPORT[ (symbol ) ]

#EXPORT

Creates a .TXA or .TXD text file from a symbol.

symbol

The template symbol to export (%Module, %Procedure, %Dictionary, or %Program). If omitted, the current application is exported.

#EXPORT outputs .TXA or .TXD script text for the symbol to the current output file (see #CREATE or #OPEN). This file may then be used for importing to other Clarion applications.

Example:

#CREATE('MyExp.TXA')

#FOR(%Procedure)

#EXPORT(%Procedure)

#ENDFOR

#CLOSE('MyExp.TXA')

 

#CREATE('MyApp.TXA')

#EXPORT #! Exports entire application

#CLOSE('MyApp.TXA')

 

See Also:     #CREATE ,#OPEN ,#IMPORT