| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Mardi 23 Mars 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Samedi 27 Mars 2010 | Par | Support France |
| Thème | Administration des comptes, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | CHECKMOD.checkUSPostalCode |
| Prototype |
| Function checkUSPostalCode (postalCode As String) As Integer |
| Usage | |||
| Administration-des-comptes.checkUSPostalCode(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function checkUSPostalCode (postalCode As String) As Integer |
Function checkUSPostalCode (postalCode As String) As Integer
checkUSPostalCode = True
Select Case Len(postalCode)
Case 5
If Val(postalCode) = 0 Then
checkUSPostalCode = False
End If
Case 10
If Val(Left$(postalCode, 5)) = 0 Or Val(Right$(postalCode, 4)) = 0 Or Mid$(postalCode, 6, 1) <> "-" Then
checkUSPostalCode = False
End If
Case Else
checkUSPostalCode = False
End Select
End Function
|
| Références XAS.Technology |
| Len , Val , Left , Right , Mid , |
| Audience |
| Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs. Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet. |
| XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology |