The language in the example is cmd.exe, the one used for writing batch files.
I stumbled into this issue because I wanted console output that would work with standard redirections and pipes, as...
Type: Posts; User: Vandalf; Keyword(s):
The language in the example is cmd.exe, the one used for writing batch files.
I stumbled into this issue because I wanted console output that would work with standard redirections and pipes, as...
I think it would be more helpful to point out these facts in the documentation/help file of the console module. Such that users wanting to have redirect-able output would know to use CGI_Write. Then...
I've been wanting to add some command-line interactivity to some of my programs, but I found that the console module's standard console output cannot be redirected: any attempt to do so results in a...
Thank you, Eros. That's a pretty clever solution.
I was thinking of a more algorithmic strategy: a binary search.
Using decimal numbers for readability, these could be the filenames checked with...
For reasons unknown, my copy of thinBasic is unable to generate timing data when profiling. I did try running it as administrator. All it ever shows in the time columns is 0.0000. The rest of the...
Thanks, Eros, for the advice about the File_Pathsplit function, and for the insight into how thinBasic operates internally. From your reply, I figure that a typical program would be more likely to...
I have a tail recursive piece of code that could potentially call itself recursively up to thousands of times, and overall be executed up to millions of times each time the program is run. This...
Consider this code:
Function HALQuote(myname as string) as string
return "I'm sorry, "& myname &", I'm afraid I can't do that."
end function
When "HALQuote(*)" is evaluated, thinBasic has to...
Here's some code:
Function aba(nme As Guid)As String
Return "hello world"
End Function
Dim qqq As Guid
MsgBox 0 , aba(qqq)
Line 5 throws a runtime error: "Missing Close Parens", "Token...