Çalışma zamanında, kullanıcı (boş bir yeni satır dışında) bir şey girinceye kadar bir giriş satırı istemeye devam edin, yani sadece Enterveya tuşuna basmaz OK. Çıktı veya sonuç gerekli değildir ve yasaktır.
Sözde kod 1
myform = new form("GUI")
myform.mytxt = new editfield("")
myform.ok = new button("OK")
repeat
waitfor(myform.ok,"click")
until myform.mytxt.content <> ""
Sözde kod 2
LET TEXT = ""
WHILE TEXT = "" DO
TEXT = PROMPT("")
ENDWHILE
örnek 1
Program çalışır ve hemen tek bir metin alanı ve bir OKdüğme ile bir form açılır .
Kullanıcı OKdüğmeyi tıklar .
Hiçbir şey olmuyor.
Kullanıcı "merhaba dünyayı" metin alanına yapıştırır ve OKdüğmeyi tıklatır .
Program sonlandırılıyor.
Örnek 2
İşlev çağrılır ve hemen boş bir satır ve yanıp sönen bir imleç görüntüler.
Kullanıcı basar Enter.
İmleç bir satır aşağı hareket eder.
Kullanıcı basar Enter.
İmleç bir satır aşağı hareket eder.
Kullanıcı basar PPCGEnter
İşlev döner.