在帕斯卡(Pascal)留下空线

以下示例是关于Pascal中包含在帕斯卡(Pascal)留下空线用法的示例代码,想了解在帕斯卡(Pascal)留下空线的具体用法?在帕斯卡(Pascal)留下空线怎么用?在帕斯卡(Pascal)留下空线使用的例子?那么可以参考以下相关示例代码来学习它的具体使用方法。

[英]:leave line empty line in Pascal源码类型:Pascal
Program OutputInPascal;

Var
number : Integer;

Begin
    //Print and move to next line
    writeln('Hello World of Pascal!');
    
    //Print without moving to next line
    write('   => Math fact: ');
    
    //Print text and variables and move to next line
    number := 10;
    writeln('The double of ',number,' is ', number * 2);
    
    //Just move to next line (leave line empty)
    writeln();
End.

本文地址:https://www.itbaoku.cn/snippets/787505.html