Syntax highlighting using Mediawiki formatting: Difference between revisions
Syntax highlighting using Mediawiki formatting (view source)
Revision as of 19:24, 7 October 2023
, 8 months ago→{{header|Phix}}
Line 419:
'''integer''' line_comment = i
'''while''' i<l '''and''' pgm[i+1]!='\n' '''do''' i += 1 '''end''' '''while'''
out &= `''` & pgm[line_comment..i] & `''`
elsif ch='/' '''and''' i<l '''and''' pgm[i+1]='*' '''then'''
Line 449 ⟶ 448:
'''puts'''(1,out)
{} = '''wait_key'''()
=={{header|Python}}==
|