Your full service technology partner! 
-Collapse +Expand
Search Paradox Group:

-Collapse +Expand Paradox To/From
-Collapse +Expand Paradox Store

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► KBDesktop Data...Paradox & Ob...ObjectPAL Co...OPAL: Langua...   Print This     
  From the November 2015 Issue of Prestwood eMag
Paradox OPAL: Language Basics:
ObjectPAL Empty String Check (isBlank() or not isAssigned())
Posted 15 years ago on 9/18/2009 and updated 2/12/2010
Paradox Code Snippet:
 A flashcard from our Paradox Flashcards Library
 A code snippet from our Paradox Code Snippets Page


Languages Focus: Empty String Check

An empty string is a zero length string, a string that is equal to null (""), or not assigned. In some languages, you can check if a string is empty by comparing it to an empty string (""). Some languages distinguish between nil and null ("") so checking if the length is 0 is easier.

ObjectPAL Empty String Check

In ObjectPAL, an empty variable can be unassigned (essentially null) or blank (equivalent to ""). You have to use both isBlank and isAssigned to check for an empty string.

Syntax Example:
 s String
;s = ""  ;Uncomment to test 2nd case.
if isBlank(s) or not isAssigned(s) Then
 msgInfo("", "empty string")

Testing Out isBlank and isAssigned Code

Add the following code to a pushButton event of a button to test out isBlank and isAssigned.

 s String
;Neither s="" not size(s)=0 work with unassigned!!!
;if s = "" Then
;if size(s) = 0 then

;Try not assigning at all and then
;uncomment the following line of code.
s = ""
if isBlank(s) then
 msgInfo("", "blank")
;unAssign(s) ;Uncomment to test following.
if not isAssigned(s) then
 msgInfo("", "not assigned")

More Info


Share a thought or comment...
First Comment
Comment 1 of 8

The actual paths of the team are ensured for the gathering of the turns. Portals of the buy coursework are consumed for the individuals. Element is filed for all shows. The mode is approved for the next chapter for humans.

Posted 50 months ago

Comment 2 of 8

Get your paper done by BestEssays writers on time. They follow students‘ requirements and use their additional materials. 

Posted 49 months ago

Comment 3 of 8

WPS is the abbreviation of Wi-Fi protected pin, and in reality, it is a combination of eight-digit numbers, especially used as a means of authentication when you’re to connect your printing device with Wi-Fi. This pin is a must used utility for establishing a connection between your router, wireless printers, and other devices. In order to locate WPS Pin the first, you should move to the control panel on your HP Printer, after that move to the settings option. There is a Wi-Fi setup option, following the prompts you will get the option to show WPS pin on screen. 

Posted 49 months ago

Comment 4 of 8
Posted 49 months ago

Comment 5 of 8

Wow such an amazing content keep it up. I have bookmared your page to check out more informative content here. Check this out Virgin River Wardrobe for yourself or to gift someone you may love.

Posted 40 months ago

Comment 6 of 8

I see no sense in the blank string. It should contain some information. Otherwise, what is the point? If you want to check a reliable source visit the one located here they will never leave your paper blanc.

Posted 39 months ago

Comment 7 of 8

If you want to know the way of How to add money to Cash app card to make a digital transaction, then go ahead to read all the terms & conditions. Actually, for it, you are asked to visit any nearest Walmart store and then be in touch with the Cashier to add money on your Cash app card in an innate way. And, one more thing, you have to pay a fee to do it.

Posted 38 months ago

Latest Comment
Comment 8 of 8

If you Unlock Cash App Account follow the steps:

Open cash application on your mobile and tap on the profile icon

Go to the Personal option and mention your email address or phone number

On your registered mobile number or email, you will get the the confirmation code.

Posted 38 months ago
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1135A1
Enter key:
Code Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #102041 Counter
Since 9/18/2009
Sales Website: Or visit our legacy sales site:

©1995-2024 Prestwood IT Solutions.   [Security & Privacy]