Domino 9 und frühere Versionen > Administration & Userprobleme
Code verbergen
(1/1)
Gravedigger:
Hallo
wie kann ich z. B. in einem Agenten den Code verbergen?
Danke
meichhorner:
Schau mal in die Designer Hilfe ;)
--- Zitat ---%Include directive
Beispiel
At compile time, inserts the contents of an ASCII file into the module where the directive appears.
Syntax
%Include fileName
Elements
fileName
A string literal whose value is a file name; you can optionally include a path.
If you omit the file name extension, LotusScript assumes .lss. To include a file that has no extension, include a period at the end of the file name. For example:
%Include "orfile."
This prevents LotusScript from adding the .lss extension to the file name.
Usage
The %Include directive must be the only item on a line, except for an optional trailing comment. It must be followed by white space (a space character, a tab character, or a newline character).
If you don't specify a path for the included file, the search path depends on the specific Lotus product you're using.
An included file can itself contain %Include directives. You can nest up to 16 files.
At compile time, LotusScript replaces the %Include directive with the entire contents of the named file. They are then compiled as part of the current script.
If a run-time error occurs in a statement in an included file, the line number reported is that of the %Include directive.
If a compile-time error occurs in a statement in an included file, the file name and the line number within that included file are reported with the error.
The file you include must be a text file containing only LotusScript statements. If anything in the included file cannot be compiled, LotusScript generates a compiler error.
If the file is not found, LotusScript generates an error.
--- Ende Zitat ---
koehlerbv:
Was bedeutet das "zum Beispiel" in Deiner Frage ?
Wie liegt der Code vor ? @functions, LotusScript, JavaScript, Java ?
Falls Du das komplette Design einer DB verbergen willst, guckst Du in die DesignerHelp und suchst nach
gestaltung AND verbergen
Bernhard
PS: Für das Verbergen von LS in Agents (und ScriptLibs u.a.) hat Martin ja schon alles übermittelt.
Gravedigger:
Danke für eure Hilfe
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln