Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Wendelin Uez" Newsgroups: comp.lang.basic.visual.misc Subject: vbScript Date: Sun, 25 Jan 2026 22:20:42 +0100 Lines: 7 Message-ID: <10l61fo$m241$1@solani.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Injection-Date: Sun, 25 Jan 2026 21:20:57 -0000 (UTC) Injection-Info: solani.org; logging-data="723073"; mail-complaints-to="abuse@news.solani.org" Cancel-Lock: sha1:ZGF/KGek7KqjP637W2ozlmEaVTg= X-Priority: 3 X-User-ID: eJwNx9EVADEEBMCasBblkJP+S7i8+Ro3Ck+ATvh9SLO9ncZR3YB2ZQDNOMlZwWvrFL4suPwIvRAw X-MimeOLE: Produced By Microsoft MimeOLE V6.3.9600.20671 X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MSMail-Priority: Normal Xref: csiph.com comp.lang.basic.visual.misc:4336 This simple Script > Dim Filename, Pattern, OK > Filename = "xy.pdf" > Pattern = "*.pdf" > OK = "11.pdf" Like "*.pdf" always returns "sub or function procedure not defined" for line 4 but why?