易截截图软件、单文件、免安装、纯绿色、仅160KB

问个delphi输出问题

程序最后输出一个S,Writeln('S=',S); 为啥不直接写writeln(s)
Writeln(C,'…',d);是啥意思
输出输出等式 N3=X2—Y2 或N*N*N=X*X—Y*Y为啥要写成Writeln(N,'*',N,'*', N,'=', X,'*', X,'—',Y,'*',Y);  
 
可以writeln(s)
Writeln('S=',S); 是为了让你看的更明白,显示出‘s=’


下面是delphi帮助中的解释,自己看看吧

Delphi syntax:

procedure WriteLn([ var F: Text; ] P1 [, P2, ...,Pn ] );

Description

WriteLn is an extension to the Write procedure, as it is defined for text files. 

After executing Write, WriteLn writes an end-of-line marker (line feed or carriage return/line feed) to the file. 

If F is omitted, the global variable Output is used, which accesses the processes standard input file. Use of Output in GUI applications raises special issues.

引用
程序最后输出一个S,Writeln('S=',S); 为啥不直接写writeln(s)
Writeln(C,'…',d);是啥意思
输出输出等式 N3=X2—Y2 或N*N*N=X*X—Y*Y为啥要写成Writeln(N,'*',N,'*', N,'=', X,'*', X,'—',Y,'*',Y);

S=xxx

xxx
的区别


相关问答:

xml创建后如何销毁? - Delphi / 网络通信/分布式开发

xml := CreateOleObject('Microsoft.XMLHTTP');
  xml.Open('GET','http://www.google.com', False);
  xml.Send;
  xml.responseText;
使用xml.responseText可以获取网页源码,但是再次 ......

Delphi的语法问题 - Delphi / 语言基础/算法/系统设计

例子程序见附件,用Delphi 7进行编译
问题代码为 
Delphi(Pascal) code:
if Node.ChildNodes <> nil then
begin
for i := 0 to Node.ChildNodes.Count - 1 do
begin
cNode := N ......

Delphi中的时间查询!能告诉我哪里错了吗?!

t5:=' 1=1 ';
  if CheckBox5.Checked then
  t5:=' 生日>=#'+DateToStr(DateTimePicker1.Date)+'# and 生日<=#'+DateToStr(DateTimePicker2.Date)+'#';

关于事件的格式和界定符,access,sq ......

vc转delphi问题

请问哪位大神能帮我看看我这句转得对不对 老是会出错。
vc:
C/C++ code:

DWORD WINAPI debugProc(LPVOID lpParameter )
{
if(debuger1.caozuo==1)
{

......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号