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

a←⎕ causes a VALUE ERROR when the user does not enter anything but presses "Enter" #1256

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

Comments

@aplteam
Copy link

aplteam commented Sep 30, 2024

That can cause havoc in a user command.

In such a case it should repeat the prompt.


IDE:
Version: 4.5.4097
Electron: 26.6.9
Chrome: 116.0.5845.228
Node: 18.16.1
Platform: Win32
Date: 2024-02-23 15:24:25 +0100
Git commit: 9fb3136
Preferences:{
"autoCloseBrackets":"0",
"autoCompleteCharacterLimit":"0",
"autoPW":"1",
"autocompletionDelay":"150",
"colourScheme":"Kai",
"colourSchemes":"[{"name":"Kai","theme":"dark","styles":"asgn=fg:#ff9900 com=fg:b cur=bc:f00,fg:#ffffff dfn2=fg:#ff9900 dfn3=fg:#ff9900 dfn4=fg:#ff9900 dfn5=fg:#ff9900 dfn=fg:#ff9900 diam=fg:#ffffff err=fg:#ff00ff,bg:822,bgo:0.5 fn=fg:#ff9900 idm=fg:#ff9900 glb=fg:#00ffff kw=fg:#ffffff lbl=bg:642,bgo:0.5,fg:#ffffff lnum=fg:b94,bg:010,bgo:0 mtch=fg:0,bg:#ffffff,bgo:0 norm=fg:#ff9900,bg:0,bgo:1 num=fg:#ff9900 op1=fg:d95 op2=fg:#ff9900 sel=bg:#808080,bgo:1 semi=fg:8 sqbr=fg:#ff9900 srch=bgo:1,fg:0,bg:#ffffff str=fg:#00ff00 tc=bg:1,bgo:1 tcpe=bg:2,bgo:1 zld=fg:#ff9900 scmd=fg:#ff9900 ucmd=fg:f80 vtip=bg:733,fg:ff0,bgo:1,bc:900 vtt=bc:f80 ca=bg:828282,bgo:1,fg:0f0 cm=bg:0,bgo:1,fg:0f0 cv=bg:f,bgo:1,fg:0 cvv=bg:0,bgo:1,fg:0ff ma=bg:828282,bgo:1,fg:0ff na=bg:828282,bgo:1,fg:f qor=bg:f00,bgo:1,fg:f dc=bg:900,bgo:1 dfn1=fg:#ff9900 var=fg:#ff9900 cubr=fg:#ff9900 par=fg:#ff9900 itk=fg:#ff00ff ns=fg:#ff9900 trad=fg:#ff9900 quad=fg:#00ffff qdl=fg:#ff9900"}]",
"defaultConfig":"v19.0",
"doubleClickToEdit":"0",
"editWins":"{"width":2102,"height":1238,"x":4352,"y":-1002,"ox":0,"oy":0}",
"editWinsRememberPos":"1",
"floatSingle":"0",
"kbdLocale":"en_GB",
"keys":"{"AC":["Ctrl+F5"],"BH":["Shift+F6"],"BP":["Ctrl+F7"],"MA":["F6"],"NX":["F3"],"PV":["Ctrl+F3"],"RM":["Ctrl+F6"],"ZMI":["Ctrl+NumPad_Add"],"ZMO":["Ctrl+NumPad_Subtract"],"ZMR":["Ctrl+NumPad0"],"PF3":[],"PF6":[],"PF18":[],"PF27":[],"PF29":[],"PF30":[],"PF31":[]}",
"pauseOnError":"1",
"pfkeys":"["","","⎕trap←0 'S'","⊂NX","","→⎕LC","","","","⍝","⎕THIS","","","","","]ListObjects","]Latest","∘∘∘","","⎕TRAP","]Box off","","","","","","","","⊢⎕SE.Link.Expunge","","","","","]UDebug off","⍝TODO⍝","{{}(#.⎕NS'').(⎕ED⍠('ReadOnly' 1)&{'ed'}ed←⍵)}","","]Cider.","]Cider.OpenProject ","]Cider.ListOpenProjects","]Cider.CloseProject","","]Git.","]Git.Status","]Git.OpenGitShell","]Git.Commit -m \"\"","]Tatin.","]Tatin.ListPackages ","]Tatin.ListRegistries "]",
"presetsCreated":"["/opt/mdyalog/19.0/64/unicode/mapl","C:\\Program Files\\Dyalog\\Dyalog APL-64 18.2 Unicode\\dyalog.exe","C:\\Program Files\\Dyalog\\Dyalog APL-64 18.0 Unicode\\dyalog.exe","C:\\Program Files\\Dyalog\\Dyalog APL-64 20.0 Unicode\\dyalog.exe"]",
"selectionHighlight":"1",
"zoom":"2"
}

Interpreter:
Version: 19.0.50061
Platform: Windows-64
Edition: Unicode/64
Date: Sep 2 2024 at 09:04:33

@mkromberg
Copy link
Contributor

(In other words, it should behave the same way that a "direct" interpreter session does).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants