seterr
Posted: Wed Mar 01, 2023 10:02 am
How does the seterr command works, I don't really understand the manual? Someone that have some short exampelcode?
Thanks, greetings Johan
Thanks, greetings Johan
Code: Select all
create u 100
%x = ""
!result = @uiedit(%x, "Type an integer")
!val = @val(%x)
scalar a = !val
if !val=NA or !val<>@round(!val) then
seterr "I told you to type in an integer"
endif