🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9957

Re: [VB] Scripts debugging

#9957
From: Robert Tkaczyk
Date: Tue, 11 Jul 2006 16:46
38 lines
1894 bytes
>   Have you a link to get it?

link to what ?? ;)

Option Explicit Statement

Used atmodule level to force explicit declaration of allvariables in 
thatmodule.

Syntax

Option Explicit

Remarks

If used, the Option Explicit statement must appear in a module before 
anyprocedures.

When Option Explicit appears in a module, you must explicitly declare 
all variables using the Dim, Private, Public, ReDim, or Static 
statements. If you attempt to use an undeclared variable name, an error 
occurs atcompile time.

If you don't use the Option Explicit statement, all undeclared variables 
are of Variant type unless the default type is otherwise specified with 
a Deftype statement.

Note   Use Option Explicit to avoid incorrectly typing the name of an 
existing variable or to avoid confusion in code where thescope of the 
variable is not clear.


or
http://www.csidata.com/custserv/onlinehelp/VBSdocs/vbs590.htm
http://msdn2.microsoft.com/en-us/library/y9341s4f.aspx
http://www.africadotnet.org/Articles/1423.aspx

robin
Technical Details
Message-ID: <433CECD8D0514094FB36FCDAD338D77F@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0e069.-1@webcrossing.la2eafNXanI> <3bc0e069.1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2809b9ce670d5626
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB] Scripts debugging
Message-ID: <433CECD8D0514094FB36FCDAD338D77F@in.webcrossing.la2eafNXanI>
Date: Tue, 11 Jul 2006 09:46:17 -0700
References: <3bc0e069.-1@webcrossing.la2eafNXanI> <3bc0e069.1@webcrossing.la2eafNXanI>
Lines: 41
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
X-Antivirus: avast! (VPS 0628-2, 2006-07-11), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing