ထႅမ်းပလဵတ်ႉ:Code:Valid/doc
Appearance
| ဢၼ်ၼႆႉပဵၼ် ၼႃႈလိၵ်ႈၽႄ ၽိုၼ်ၵႅမ်မိုဝ်း တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Code:Valid. မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်း]This template is used to display a code that is at least syntactically valid.
တူဝ်ယၢင်ႇ
[မႄးထတ်း]The following call
{{Code:Valid|The code
<syntaxhighlight lang="perl">
my @array = qw(one two three);
print "Array contains " . @array . " element" . ((@array == 1) ? "" : "s") . "\n";
</syntaxhighlight>|
returns the following:|
Array contains 3 elements
}}
displays a perl code that is valid:
my @array = qw(one two three);
print "Array contains " . @array . " element" . ((@array == 1) ? "" : "s") . "\n";
returns the following:
Array contains 3 elements