Uniface Underground -> Undocumented.Features.Only. |
Name | interrupt Some interactions with the file-system |
||||||||||||||||||||||||||||||
Synopsis | interrupt(InterruptCode,ResultString)
Download an example plus some new INTERRUPTCODE, Interrupt.exp using Uniface 8.4, ask for a 7.2.6 version. |
||||||||||||||||||||||||||||||
Use | Allowed in form components (and in service and report components that are not self-contained). | ||||||||||||||||||||||||||||||
Description | The interrupt
statement performs some actions under your file-system depending on the
InterruptCode as show in the following table :
Tested in 7.2.02, 7.2.03 Note: Refer to Proc Language Manual section 1.12.3 Lists of items for information about the structure of lists. |
||||||||||||||||||||||||||||||
Return Value |
The InformationFileList is a associative list with the keys Path, DiskDir, Name, Type, Version, Attrib, RecSize and Filesize |
||||||||||||||||||||||||||||||
Example | file_name = "pepe.txt" interrupt(0,file_name) if ($status = -1) interrupt(5) message/error "File not found in directory %%$result" else getitem/id fsize, $result, "Filesize" message "The file size of %%file_name is %%fsize" endif |
||||||||||||||||||||||||||||||
Updated on Oct-2005 | interrupt (989), "APPLFOCUS" Variables ;====================================================== ;====================================================== ;====================================================== ;====================================================== ;====================================================== ;====================================================== interrupt (989),"UNDOGOLD" ;======================================================
|