Changes to KGraphicControl.js

The KGraphicControl.js file has been updated to allow all-in-one downloads of scripts (cuts header sizes, get requests, etc). This new function requires CGI with other server based programs to operate.

The catche folder for all-in-one files is located at http://www.kitchenpages.com/library/i3/build/

Files in the /build/ sub-directory are named according to the scripts merged. The file 111111001111110.js loads KGraphicControl 2D with Array input. The file of 000000000000000.js allows for script taste testing (to see if file can be read). Additional scripts change the file name to include letters (not further numbers, as below)

The filename 0’s and 1’s are listed below, in order from start to end:
(start ./ )
param($systobj); # = 1
param($Execption); # = 1
param($TApplication); # = 1
param($windows); # = 1
param($TForm); # = 1
param($TCanvas); # = 1
param($sysutils); # = 100 || 010 || 001
param($vcl); # = 1
param($math); # = 1
param($inifiles); # = 1
param($KGraphicControl); # = 10 || 11
param($KGraphicControl3D); # = 1 (end, a-z).js /.gz

The various codes for sysutils and KGraphicControl are listed below:
param($sysutils); # = 100 for Internet || 010 for localhost || 001 for array
param($KGraphicControl); # = 10 for KGraphicControl_h.js || 11 for KGraphicControl_h.js and KGraphicControl_cpp.js

To enable all-in-one loading modify the scripting to be like the following code;
<script type=”text/javascript”> var cheeze = “”; var kgcbootcgi = “0”; </script>
<script type=”text/javascript” src=”./compact/getz.js.gz”></script>
<script type=”text/javascript” src=”./build/kitcadi3_boot.cgi”></script>
<script
type=”text/javascript”  src=”./TObject/TPersistent/TComponent/TControl/TGraphicControl/KGraphicControl.js”></script>

🙂

Comments are closed.