Syntax Parameters Example Programs
When used within an application, w3SubsGet enables Web page designers to change Web page flags without requiring changes to the program.
w3SubsGet reads a substitution array from the w3HTML file. Each line in the file defines one substitution. The line has the format of:
flag=replacement value
for example
!MKTG!=/marketing
For efficiency, once retrieved, a local copy of the substitution array is kept so future requests for the array are quickly satisfied without reading and evaluating the source file. If it is necessary to reload the substitution array, the local copy can be removed by either using the w3SubsFlush subroutine or restarting FlashCONNECT.
If w3Debugging is enabled, local copies are not kept. If the requested item cannot be read, the failure is recorded in the w3Logs FlashCONNECT file.
Call w3SubsGet (filename, array)
|
filename |
In |
The name of the file in w3Html which contains the list of substitutions. If not specified, the file "fc.subs" is used. |
|
array |
Out |
The substitution array read. |