engiGetScriptText

This call returns name and body text for entity local (where) rule, schema rule, function or procedure.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "engiGetScriptText")]
public static extern void x86_engiGetScriptText(Int32 declaration, out IntPtr label, out IntPtr text);

[DllImport(enginedll, EntryPoint = "engiGetScriptText")]
public static extern void x64_engiGetScriptText(Int64 declaration, out IntPtr label, out IntPtr text);

public static void engiGetScriptText(Int64 declaration, out IntPtr label, out IntPtr text)
		{
			if (IntPtr.Size == 4)
			{
				x86_engiGetScriptText((Int32)declaration, out IntPtr _label, out IntPtr _text);
				label = _label;
				text = _text;
			}
			else
			{
				x64_engiGetScriptText(declaration, out label, out text);
			}
		}    

Property declaration

Size: 64 bit / 8 byte (value)
???.

Property label

Size: 64 bit / 8 byte (reference)
???.

Property text

Size: 64 bit / 8 byte (reference)
???.