Jump to content

Strip comments from a string: Difference between revisions

m
→‎{{header|ANSI BASIC}}: {{works with|Decimal BASIC}}
m (ANSI BASIC and BASIC256 moved to the BASIC section.)
m (→‎{{header|ANSI BASIC}}: {{works with|Decimal BASIC}})
Line 496:
=={{header|BASIC}}==
==={{header|ANSI BASIC}}===
{{works with|Decimal BASIC}}
<syntaxhighlight lang="ansibasicbasic">100 DECLARE EXTERNAL FUNCTION FNstripcomment$
110 LET marker$="#;"
120 PRINT """";FNstripcomment$("apples, pears # and bananas", marker$);""""
512

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.