Goto: 4C Home | 4C Docs | 4C External Libraries Home | FCCom Home 4C FCCom External Library - Overview

4C FCCom External Library - Overview

15 January 2018

The FCCom 4C external library is meant to allow applications to use the HTTP protocol to access web resources from within a 4C program without needing to use external shellscripts and other utilities. In order to use this library you should be famiiar with the HTTP protocol.

The general flow of control when using this library is as follows Be aware of the following Also be aware of the following http server issues. The possible error codes set by any function in the FCCom library are Use sys.get_extfnopt(<libname>,"LastError") to get the error code set after making a call into the library that returns an error or warning.

Use sys.get_extfnopt(<libname>,"LastMessage") to get the error message set after making a call into the library that returns an error or warning.

Check sys_ret when a function returns an ambiguous value that could mean an error or could be a valid value. If the the function is returning an error, then sys_ret will be less than 0. If the function is returning a valid value without any warning, then sys_ret will equal 0. if the function is returning a valid value and there is a warning, then sys_ret will be > 0.

Back to Top