Re: gets behaviour question
- Posted by axtens_bruce in March
- 564 views
RobertS said...
I'm using it with Phix, but I suppose it works with Euphoria, too. Doesn't work with Linux, though.
It actually doesn't work with Euphoria without a slight change in syntax, due to the following:
C:\Users\bugma\Dropbox\Source\task\prompt_string_ed.e:43 <0132>:: Syntax error - expected to see possibly 'end', not '[' in_max = video_config()[10] - length(prompt) - 1 ^Some Phix just doesn't translate.
After I fixed that, the following appeared:
c:\Users\bugma\Dropbox\Source\task>eui task.ex c:\Users\bugma\Dropbox\Source\task\prompt_string_ed.e:178 <0074>:: Errors resolving the following references: 'edstack' (prompt_string_ed.e:46) has not been declared. 'edstack' (prompt_string_ed.e:47) has not been declared. 'edstack' (prompt_string_ed.e:48) has not been declared. 'edstack' (prompt_string_ed.e:53) has not been declared. 'wait_key' (prompt_string_ed.e:65) has not been declared. 'edstack' (prompt_string_ed.e:94) has not been declared. 'edstack' (prompt_string_ed.e:104) has not been declared. 'edstack' (prompt_string_ed.e:106) has not been declared. 'edstack' (prompt_string_ed.e:109) has not been declared. 'edstack' (prompt_string_ed.e:121) has not been declared. 'edstack' (prompt_string_ed.e:176) has not been declared. 'edstack' (prompt_string_ed.e:178) has not been declared. edstack = edstack[2..$] ^
Ahhh, just saw this comment:
-- *** Important *** -- needs global object edstack (stack of editor input lines)
Hmm....
-Bruce