Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding verbs INPUTE and INPUTN: what is verifyoptions? #153

Open
Lotes opened this issue Sep 30, 2024 · 1 comment
Open

Adding verbs INPUTE and INPUTN: what is verifyoptions? #153

Lotes opened this issue Sep 30, 2024 · 1 comment

Comments

@Lotes
Copy link
Collaborator

Lotes commented Sep 30, 2024

There are two additional verbs (besides FILE/XFILE) with priority 1 where the documentation is incomplete: INPUTE and INPUTN

Both verbs have this verify options at the end of the definition, like here:

INPUTN col,row,omask$,imask$,flags$,restore,val{:(verifyoptions)}

But it is not explained in detail and there are even no examples. How would an example with verify options look like?

CC @StephanWald

@Lotes Lotes added the question Further information is requested label Oct 15, 2024
@StephanWald
Copy link
Member

INPUTE (0,ERR=*next) C,R,M$,P$,A$:("end"=3000,LEN=1,5)

This is similar to INPUT, basically telling some rules about how the input should look like or where to jump to on specific inputs.
Valid verifyoptions are explained with the READ verb

https://documentation.basis.cloud/BASISHelp/WebHelp/commands/read_verb.htm

@StephanWald StephanWald added important next fix or enhancement and removed question Further information is requested labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants