Advertisement
AmourSpirit

FileMaker treats string without numbers as false

Aug 26th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. FileMaker treats string without numbers as false
  2.  
  3. The Following has a result of: 1
  4. ----------------< Start Block >----------------------
  5. Let ( [
  6. ~result = "abceefghijlomonp"
  7. ];
  8. not ~result
  9. )
  10. ----------------< End Block >------------------------
  11.  
  12. The following has a result of: 0
  13. ----------------< Start Block >----------------------
  14. Let ( [
  15. ~result = "abceefghijlomonp123"
  16. ];
  17. not ~result
  18. )
  19. ----------------< End Block >------------------------
  20.  
  21. Result: 0
  22. ----------------< Start Block >----------------------
  23. Let ( [
  24. ~result = "1"
  25. ];
  26. not ~result
  27. )
  28. ----------------< End Block >------------------------
  29.  
  30. Result: 0
  31. ----------------< Start Block >----------------------
  32. Let ( [
  33. ~result = 1
  34. ];
  35. not ~result
  36. )
  37. ----------------< End Block >------------------------
  38.  
  39. Result: 0
  40. ----------------< Start Block >----------------------
  41. Let ( [
  42. ~result = True
  43. ];
  44. not ~result
  45. )
  46. ----------------< End Block >------------------------
  47.  
  48. Result: 1
  49. ----------------< Start Block >----------------------
  50. Let ( [
  51. ~result = False
  52. ];
  53. not ~result
  54. )
  55. ----------------< End Block >------------------------
  56.  
  57. Result: 1
  58. ----------------< Start Block >----------------------
  59. Let ( [
  60. ~result = "0"
  61. ];
  62. not ~result
  63. )
  64. ----------------< End Block >------------------------
  65.  
  66. Result: 1
  67. ----------------< Start Block >----------------------
  68. Let ( [
  69. ~result = ""
  70. ];
  71. not ~result
  72. )
  73. ----------------< End Block >------------------------
  74.  
  75. Resutl: 1
  76. ----------------< Start Block >----------------------
  77. Let ( [
  78. ~result = " "
  79. ];
  80. not ~result
  81. )
  82. ----------------< End Block >------------------------
  83.  
  84. Result: 1
  85. ----------------< Start Block >----------------------
  86. Let ( [
  87. ~result = "a b c"
  88. ];
  89. not ~result
  90. )
  91. ----------------< End Block >------------------------
  92.  
  93. Result: 1
  94. ----------------< Start Block >----------------------
  95. Let ( [
  96. ~result = "a b c ,:@#$%^&*()-=~`;'[]{}"
  97. ];
  98. not ~result
  99. )
  100. ----------------< End Block >------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement