English
Forum

Error match$

 
- Page 1 -



RudiB.
Hello ,

have the following trouble:
in the nachstehenden Listing becomes only the first request the Error recognized. have it with with Freeprofan, XProfan10 probiert, both male the same Error. solely XProfan 11.2 goes free from problems so circa.
Declare eingabe_edit1$,eingabe_edit2$
CLS
eingabe_edit1$="aaaa7aaa"
eingabe_edit2$="5555z55"

If Match $("[0-9]", eingabe_edit1$)

    Print "Error: No number zulässig"

EndIf

If Match $("[A-Za-z]", eingabe_edit2$)

    Print "Error: no character zulässig"

EndIf

Waitinput
End
 
FreeProfan
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
01/25/16  
 



« this Posting watts as Solution marked. »


Jörg
Sellmeyer
Schreib time each
If Match $("[...]",var$) > ""

. so functions it. The function supply Yes none boolschen worth back, separate a String.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/25/16  
 




RudiB.
small Error....

The first request...
If Match $("[0-9]", eingabe_edit1$)


won't recognized...
 
FreeProfan
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
01/25/16  
 




RudiB.
is the in the string The first position a number
"5aaaa5aaa"
recognize it it already,,,,
 
FreeProfan
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
01/25/16  
 




Jörg
Sellmeyer
Schreib time each
If Match $("[...]",var$) > ""

. so functions it. The function supply Yes none boolschen worth back, separate a String.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/25/16  
 



Verschoben in that FreeProfan-Forum. 
 
01/25/16  
 




RudiB.
calm and logical.....thanks Jörg
 
FreeProfan
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
01/27/16  
 




Jörg
Sellmeyer
gladly happen.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/28/16  
 




H.Brill
Perhaps yet to appendix :
If you More as a einstellige number
discern want, can you into geschweiften
clinging The amount indicate.
{1,3} -> recognize a, two and dreistellige
{1,} -> recognize at least a but too each mehrstellige
Declare eingabe_edit1$,eingabe_edit2$
CLS
eingabe_edit1$="aaaa7aaa"
eingabe_edit2$="5555z55"
Set("RegEx", 1)

If Match $("[0-9]{1,}", eingabe_edit1$) > ""

    Print "Error: No number zulässig"

EndIf

If Match $("[A-Za-z]{1,}", eingabe_edit2$) > ""

    Print "Error: no character zulässig"

EndIf

Waitinput
End
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
01/28/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.562 Views

Untitledvor 0 min.
Gast.0815 vor 9 Tagen
H.Brill09/15/22
RudiB.08/28/22
p.specht05/05/19
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie