🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fras.text.programmieren
4 messages
4 total messages Started by Andreas Mixich Sat, 12 Aug 1995 05:38
Arexx Problemchen
#56
Author: Andreas Mixich
Date: Sat, 12 Aug 1995 05:38
19 lines
1031 bytes
--------------------------------------------------------------------------------
						Fischbach, den 12. August 1995

				 Hallo,

ich will hier ein kleines Macro für GoldED machen.

'GOTO TOP'
DO UNTIL position = ""
	'QUERY WORD VAR POSITION'
	IF position ~ "" THEN CALL doit
END

klappt aber nicht. "Bolean value must be 0 or 1" (oder so ähnlich).

Wie kann ich also auf einen Leerstring testen ?

Danke,Andreas
HUMPTY@TOMATE.TNG.OCHE.DE
Re: Arexx Problemchen
#57
Author: Andreas Winkelmann
Date: Sun, 13 Aug 1995 20:16
21 lines
1084 bytes
Hallo Andreas.

> 'GOTO TOP'
> DO UNTIL position = ""
>       'QUERY WORD VAR POSITION'
>       IF position ~ "" THEN CALL doit

       IF position ~= "" THEN CALL doit

> END
> 
> klappt aber nicht. "Bolean value must be 0 or 1" (oder so ähnlich).
> 
> Wie kann ich also auf einen Leerstring testen ?

Ein ~ allein Funktioniert in diesem Falle nicht.

-----
Andreas Winkelmann

E-Mail : andi@art-line.art-line.de -- MicroDot V1.11beta12
Re: Arexx Problemchen
#58
Author: Michael Schroeder
Date: Sun, 13 Aug 1995 20:43
36 lines
1601 bytes
                                              Helmstedt, So 13.08.1995

Am          : Sa 12.08.1995
um          : 07:38:41
meinte      : humpty@tomate.tng.oche.de (Andreas Mixich)
zum Thema   : Arexx Problemchen


 > ich will hier ein kleines Macro für GoldED machen.
 > 
 > 'GOTO TOP'
 > DO UNTIL position = ""
 >      'QUERY WORD VAR POSITION'
 >      IF position ~ "" THEN CALL doit
 > END
 > 
 > klappt aber nicht. "Bolean value must be 0 or 1" (oder so ähnlich).
 > 
 > Wie kann ich also auf einen Leerstring testen ?

Das Problem ist die Zeile 4. Dort muss richtig stehen :

IF POSITION ~= "" THEN CALL doit

Und dann geht das auch.

    __  ____      __         
   /  |/  (_)____/ /_  ____ _
  / /|_/ / / ___/ __ \/ __ `/   Zerberus : MICHA@MINDGAME.mcnet.de
 / /  / / / /__/ / / / /_/ /    Fido     : MICHA%MINDGAME@2:241/525.99
/_/  /_/_/\___/_/ /_/\__,_/     Voice    : +49-5351-34473 
      The Answer 3.05

 
Kopf hoch, auch wenn der Hals noch so dreckig ist.
Re: Arexx Problemchen
#59
Author: Kai Norhausen
Date: Tue, 15 Aug 1995 17:26
21 lines
1274 bytes
Zu "Arexx Problemchen" von "Andreas Mixich":

Hallo Andreas , hallo Rest der Leserschaft !

>       IF position ~ "" THEN CALL doit

> Wie kann ich also auf einen Leerstring testen ?

If ~(position = "") THEN ...

Und Schnitt :-))
Kai

--
Hitman@Tribal.wad.org                 Kai Norhausen , Remscheid
PGP-Key available                     MicroDot V1.11beta12

Virenalarm:
GEORGE BUSH VIRUS: It starts by boldly stating, "Read my test ... no
new files!" on the screen, proceeds to fill up all the free space on
your hard drive with new files, then blames it on the Congress Virus.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads