Quote:
>>>>>>>>>>>>>>>>>> Ursprngliche Nachricht <<<<<<<<<<<<<<<<<<
zum Thema Re: Warp 4.5 and loop:
Quote:
> >I don't remember exactly, but it was only a few lines of code.
> >It was something like:
> >filein='xxx'
> >do while lines(filein)
> > buffer=linein(filen)
> > if yahdah yahdah yahday Say buffer
> >end
> >return
> > The problem was the miss-spelled file name in the linein function.
> I like to run a spell cheker over my code, as that
> way all the variables have to at least be the same.
Hello,
one very simple trick is to put:
Signal on novalue
in the front of your code. First time you use a variable after the
equal-sign (=) without a value, you get a runtime-error-message. If
you want to use it the first time after the equal-sign you must assign
a legal value:
example (not tested):
signal on novalue
a = b
gets an error
example (not tested 2):
signal on novalue
b = 'text'
a = b
runs fine
have a nive day
Andreas