About: Segments: Script Includes   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Beginning with the DesktopX 3.2 Betas, DX has the ability to "make its scripts external" using Object.SetScript. This capability has some drawbacks, namely, only one script can be set and that script is a total replacement of the traditional DesktopX script.

AttributesValues
rdfs:label
  • Segments: Script Includes
rdfs:comment
  • Beginning with the DesktopX 3.2 Betas, DX has the ability to "make its scripts external" using Object.SetScript. This capability has some drawbacks, namely, only one script can be set and that script is a total replacement of the traditional DesktopX script.
dcterms:subject
dbkwik:scratch-pad...iPageUsesTemplate
dbkwik:scratchpad/...iPageUsesTemplate
abstract
  • Beginning with the DesktopX 3.2 Betas, DX has the ability to "make its scripts external" using Object.SetScript. This capability has some drawbacks, namely, only one script can be set and that script is a total replacement of the traditional DesktopX script. I found a more flexible solution in this Cutting Edge article (from November 2000). By adding a short function, Include(vbsFilePath), to the body of our DX script, we can "include", or incorporate the contents of, any number of external vbs files. This is achieved by Call Include("MySampleFileName.vbs") statements in the Object_OnScriptEnter Sub, as shown below.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software