
668
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
int
Syntax
PopClipboard()
Parameters
PrintFAErrno
Description
Prints the current error status, represented by the global variable,
FA_errno
. The method is useful for debugging
clients.
When a method fails, it stores an error code in the global variable,
FA_errno
.
FA_errno
retains the error code until another function fails and sets it or until your code explicitly sets it.
To determine whether a method call has failed, initialize
FA_errno
to
FE_Success
once before calling the method and
check it once after the method call is completed.For example, if you call the
Notification()
method and specify an
invalid notification constant, the method sets
FA_errno
to
Constants.FE_BadNotificationNum (-30)
. If you
subsequently call
PrintFAErrno()
, it prints the string
FE_BadNotificationNum
.
On failure,
PrintFAErrno()
assigns the following value to
FA_errno
:
Returns
Void
Syntax
PrintFAErrno(_)
Parameters
Error
Reason
Constants.FE_Transport (-1)
A transport error occurred.
Constants.FE_BadOperation (-27)
Clipboard stack is empty.
Parameter name
Data Type
Optional
Description
_
Void
No
NULL
Error
Reason
Constants.FE_Transport (-1)
A transport error occurred.
Parameter name
Data Type
Optional
Description
_
Void
No
NULL