Anonymous user
Execute Brain****/BASIC/QuickBasic: Difference between revisions
Execute Brain****/BASIC/QuickBasic (view source)
Revision as of 20:02, 30 December 2009
, 14 years agoCategorization now in master page
m (<lang>) |
m (Categorization now in master page) |
||
Line 1:
{{implementation|Brainf***}}{{collection|RCBF}}
The program first asks for a filename for BF source code. If no filename is given (return hit without typing anything), the program accepts source from std in. To end your std input, enter a blank line (completely blank, no whitespace). Source files don't need a blank line since BASIC has EOF support. The program then cleans up the code similarly to [[RCBF/Java|the Java implementation]] and reports an uneven bracket error if it exists. Input works with a programmed buffer. It takes in an entire line if the buffer is empty, or it takes the first character from the buffer if it's not (just like the way you'd expect a buffer to work). Looping works the same as in
{{works with|QuickBasic|4.5}}
Line 96 ⟶ 97:
END IF
END SELECT
NEXT i</lang>
|