GetFileCount Method (BUTTON)
PLBCMP GUI Only, 9.7A
The GetFileCount method retrieves the number of files that have been selected by an end-user using a BUTTON File Upload selection dialog for a client browser. This method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A Button object that is accessed.
return
Optional. A Numeric Variable that returns the file selection count.
Flags Affected: EOS, OVER, ZERO
Note the following:
The EOS flag is always cleared.
The ZERO flag is set when the return value is zero.
The OVER flag is set if the {return} variable is too small to store that value without being truncated.
This method is only returns a file selection count when executing using the PL/B Web Server.
See Also: Button Methods, Method Syntax
![]() |